NVMe: Cancel outstanding IOs on queue deletion
authorMatthew Wilcox <matthew.r.wilcox@intel.com>
Tue, 7 Aug 2012 19:56:23 +0000 (15:56 -0400)
committerMatthew Wilcox <matthew.r.wilcox@intel.com>
Tue, 7 Aug 2012 19:56:23 +0000 (15:56 -0400)
commita09115b23e2002bb35b7bfd337683f00875671ec
tree1335ed44723c27fe0fd9ca221915b08fba4fbec8
parent9e866774aab5d2654b0fa8f97890f68913f05700
NVMe: Cancel outstanding IOs on queue deletion

If the device is hot-unplugged while there are active commands, we should
time out the I/Os so that upper layers don't just see the I/Os disappear.

Signed-off-by: Matthew Wilcox <matthew.r.wilcox@intel.com>
drivers/block/nvme.c