]> git.baikalelectronics.ru Git - kernel.git/commit
nvme: lightnvm: use admin queues for admin cmds
authorWenwei Tao <ww.tao0320@gmail.com>
Fri, 20 Nov 2015 12:47:55 +0000 (13:47 +0100)
committerJens Axboe <axboe@fb.com>
Fri, 20 Nov 2015 15:33:18 +0000 (08:33 -0700)
commit5924bf51f11f4e86e7a6553d74b7feaf90910955
treebee158866a8553c1652412e58130086183c95372
parentee02c3dbe3a195922b753058d5cf82addfe9fc3c
nvme: lightnvm: use admin queues for admin cmds

According to the Open-Channel SSD Specification, the NVMe-NVM admin
commands use vendor specific opcodes of NVMe, so use the NVMe admin
queue to dispatch these commands.

Signed-off-by: Wenwei Tao <ww.tao0320@gmail.com>
Updated by me to include set bad block table as well and also use
the admin queue for l2p len calculation.

Signed-off-by: Matias Bjørling <m@bjorling.me>
Signed-off-by: Jens Axboe <axboe@fb.com>
drivers/nvme/host/lightnvm.c