CPC G06F 3/0659 (2013.01) [G06F 3/0607 (2013.01); G06F 3/0658 (2013.01); G06F 3/0679 (2013.01)] | 18 Claims |
1. A method performed by a host system coupled to a storage device, comprising:
initiating an abort of a command, wherein the command has been placed into a submission queue (SQ) of the host system as an SQ entry; and
identifying at least one of a first outcome and a second outcome,
wherein, when the first outcome indicates that the host system has not received a command completion response from the storage device and the second outcome indicates that the SQ entry has been fetched from the SQ, the method further comprises:
sending an abort request from the host system to the storage device;
issuing a cleanup request to direct a host controller to reclaim host hardware resources allocated to the command; and
adding a completion queue (CQ) entry to a CQ and setting an overall command status (OCS) value of the CQ entry to indicate command abort regardless of status of the command in the storage device.
|