swim3: convert to blk-mq
authorOmar Sandoval <osandov@fb.com>
Mon, 15 Oct 2018 15:14:46 +0000 (09:14 -0600)
committerJens Axboe <axboe@kernel.dk>
Tue, 16 Oct 2018 15:49:36 +0000 (09:49 -0600)
commit8ccb8cb1892b27655247ff42867665763793ffe8
tree343f5794ebeb1ee7b5cda47833261396a3c42a5f
parentdbaa54b65e7a06e6ff2192f8fe92ecd51accc766
swim3: convert to blk-mq

Pretty simple conversion. grab_drive() could probably be replaced by
some freeze/quiesce incantation, but I left it alone, and just used
freeze/quiesce for eject. Compile-tested only.

Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Omar Sandoval <osandov@fb.com>
Converted to blk_mq_init_sq_queue().

Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/block/swim3.c