floppy: convert to blk-mq
authorOmar Sandoval <osandov@fb.com>
Mon, 15 Oct 2018 15:21:34 +0000 (09:21 -0600)
committerJens Axboe <axboe@kernel.dk>
Tue, 16 Oct 2018 15:50:14 +0000 (09:50 -0600)
commita9f38e1dec107af70d81338332494bf0a1e76597
tree5dc64e6b16373e83f91047b2a8a24206c051995c
parent6ec3938cff95fe792a05fdf4ba14f92977e5e31d
floppy: convert to blk-mq

This driver likes to fetch requests from all over the place, so make
queue_rq put requests on a list so that the logic stays the same. Tested
with QEMU.

Signed-off-by: Omar Sandoval <osandov@fb.com>
Converted to blk_mq_init_sq_queue() and fixed a few spots where the
tag_set leaked on cleanup.

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