mtd_blkdevs: convert to blk-mq
authorJens Axboe <axboe@kernel.dk>
Tue, 16 Oct 2018 14:09:58 +0000 (08:09 -0600)
committerJens Axboe <axboe@kernel.dk>
Tue, 16 Oct 2018 14:09:58 +0000 (08:09 -0600)
commit891b7c5fbf619d2a314e424775b3c232eb227e90
tree2307f1daa3cb1677d695a011c0995a36797586dc
parent804186fa95c871aba621da280284d3bc46746d50
mtd_blkdevs: convert to blk-mq

Straight forward conversion, using an internal list to enable the
driver to pull requests at will.

Dynamically allocate the tag set to avoid having to pull in the
block headers for blktrans.h, since various mtd drivers use
block conflicting names for defines and functions.

Cc: David Woodhouse <dwmw2@infradead.org>
Cc: linux-mtd@lists.infradead.org
Tested-by: Richard Weinberger <richard@nod.at>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/mtd/mtd_blkdevs.c
include/linux/mtd/blktrans.h