]> git.karo-electronics.de Git - karo-tx-linux.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)
commit47b3115ae7b799be8b77b0f024215ad4f68d6460
treebee158866a8553c1652412e58130086183c95372
parent93e70c1f2883f2db2d6a1f339d0e26f00b138e4e
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