]> git.itanic.dy.fi Git - linux-stable/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)
commitdb3cbfff5bcc0b9a82d8c71f00b9d60fad215871
tree7c625cc2d49994454d56ae7c9823b598bb6203cd
parent25646264e15af96c5c630fc742708b1eb3339222
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