]> git.baikalelectronics.ru Git - kernel.git/commit
NVMe: IO queue deletion re-write
authorKeith Busch <keith.busch@intel.com>
Tue, 12 Jan 2016 21:41:17 +0000 (14:41 -0700)
committerJens Axboe <axboe@fb.com>
Tue, 12 Jan 2016 21:47:56 +0000 (14:47 -0700)
commit420ddff67a165d60707fed013113fe49c4002a23
tree7c625cc2d49994454d56ae7c9823b598bb6203cd
parent7030fdf801f73accabcf8a83431245b3cbc15258
NVMe: IO queue deletion re-write

The nvme driver deletes IO queues asynchronously since this operation
may potentially take an undesirable amount of time with a large number
of queues if done serially.

The driver used to manage coordinating asynchronous deletions. This
patch simplifies that by leveraging the block layer rather than using
kthread workers and chaining more complicated callbacks.

Signed-off-by: Keith Busch <keith.busch@intel.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
drivers/nvme/host/pci.c