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>
This commit is contained in:
committed by
Matthew Wilcox
parent
d4b4ff8e28
commit
c30341dc3c
@@ -95,6 +95,7 @@ struct nvme_dev {
|
||||
u32 max_hw_sectors;
|
||||
u32 stripe_size;
|
||||
u16 oncs;
|
||||
u16 abort_limit;
|
||||
u8 initialized;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user