NVMe: Abort timed out commands
authorKeith Busch <keith.busch@intel.com>
Tue, 10 Dec 2013 20:10:38 +0000 (13:10 -0700)
committerMatthew Wilcox <matthew.r.wilcox@intel.com>
Tue, 28 Jan 2014 00:27:53 +0000 (19:27 -0500)
commitc30341dc3c436cf43508cd44cdfbb3810c38c195
tree36759f0401b539717d738d1c4548b2a2b18172e1
parentd4b4ff8e28b474fac0fbfa9cfc40f88b9e41e380
NVMe: Abort timed out commands

Send nvme abort command to io requests that have timed out on an
initialized device. If the command is not returned after another timeout,
schedule the controller for reset.

Signed-off-by: Keith Busch <keith.busch@intel.com>
[fix endianness issues]
Signed-off-by: Matthew Wilcox <matthew.r.wilcox@intel.com>
drivers/block/nvme-core.c
include/linux/nvme.h
include/uapi/linux/nvme.h