]> 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)
commit1ee98cbe71a0e2337f54f2bcf1cdbf589ec90803
treebee158866a8553c1652412e58130086183c95372
parentb9c5bfb248e0742c566df5aee9cf2e823bc11a9d
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