]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitae2a5fd59b411650c44bb9f1b440db916d94e8da
tree5dc64e6b16373e83f91047b2a8a24206c051995c
parentf32f44078b2a41b3a23f6dc1a3c198f4333a570f
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