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>
Showing
- drivers/block/null_blk.c 5 additions, 4 deletionsdrivers/block/null_blk.c
- drivers/lightnvm/core.c 3 additions, 4 deletionsdrivers/lightnvm/core.c
- drivers/lightnvm/gennvm.c 4 additions, 4 deletionsdrivers/lightnvm/gennvm.c
- drivers/lightnvm/rrpc.c 1 addition, 1 deletiondrivers/lightnvm/rrpc.c
- drivers/nvme/host/lightnvm.c 13 additions, 11 deletionsdrivers/nvme/host/lightnvm.c
- include/linux/lightnvm.h 7 additions, 7 deletionsinclude/linux/lightnvm.h
Loading
Please register or sign in to comment