block: move existing elevator ops to union
authorJens Axboe <axboe@fb.com>
Sat, 10 Dec 2016 22:13:59 +0000 (15:13 -0700)
committerJens Axboe <axboe@fb.com>
Tue, 17 Jan 2017 16:56:16 +0000 (09:56 -0700)
commit556851eca90c604627a2c874df35e9a41f49e856
tree71992baacb84593b8636700819a6852200307813
parent49def1853334396f948dcb4cedb9347abb318df5
block: move existing elevator ops to union

Prep patch for adding MQ ops as well, since doing anon unions with
named initializers doesn't work on older compilers.

Signed-off-by: Jens Axboe <axboe@fb.com>
Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Reviewed-by: Bart Van Assche <bart.vanassche@sandisk.com>
Reviewed-by: Omar Sandoval <osandov@fb.com>
block/blk-ioc.c
block/blk-merge.c
block/blk.h
block/cfq-iosched.c
block/deadline-iosched.c
block/elevator.c
block/noop-iosched.c
include/linux/elevator.h