]> www.infradead.org Git - users/jedix/linux-maple.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)
committerChuck Anderson <chuck.anderson@oracle.com>
Thu, 1 Jun 2017 20:40:55 +0000 (13:40 -0700)
commitdcc7acc65f9822af67d4a31d00665792620b1f19
tree0a27a13a03afb3ae4786720251bf987fb8683211
parentc65adda5fd063454266f8704b78b6004f6fb8f7e
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>
(cherry picked from commit db3cbfff5bcc0b9a82d8c71f00b9d60fad215871)

Orabug: 25130845

Signed-off-by: Ashok Vairavan <ashok.vairavan@oracle.com>
Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/nvme/host/pci.c