]> 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)
commit5215bcc0b872a2088e7f9eab383daf8d13320b43
tree7c625cc2d49994454d56ae7c9823b598bb6203cd
parentdfe9c829794295ea23ceb4f5e774c6a59a91e797
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