]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit80b1c23e501bd1815fbeb807ed4869688b4c4067
treefdfb366092d3727b6867aac782a6a09a042f85a3
parent63fb68356bce958d539f78a049cab4e331bc0704
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