lightnvm: replace req queue with nvmdev for lld
authorMatias Bjørling <m@bjorling.me>
Sun, 6 Dec 2015 10:25:48 +0000 (11:25 +0100)
committerJens Axboe <axboe@fb.com>
Mon, 7 Dec 2015 16:14:19 +0000 (09:14 -0700)
commit16f26c3aa9b9c36a9d1092ae3258461d1008481e
treefdfb366092d3727b6867aac782a6a09a042f85a3
parent57b4bd06ff0372fe1e3617889c4b37fbd500364a
lightnvm: replace req queue with nvmdev for lld

In the case where a request queue is passed to the low lever lightnvm
device drive integration, the device driver might pass its admin
commands through another queue. Instead pass nvm_dev, and let the
low level drive the appropriate queue.

Reported-by: Christoph Hellwig <hch@infradead.org>
Signed-off-by: Matias Bjørling <m@bjorling.me>
Signed-off-by: Jens Axboe <axboe@fb.com>
drivers/block/null_blk.c
drivers/lightnvm/core.c
drivers/lightnvm/gennvm.c
drivers/lightnvm/rrpc.c
drivers/nvme/host/lightnvm.c
include/linux/lightnvm.h