Patent ID: 6757767
Filing Date: 2004-06-29
Classification: G06F

Abstract:
A method for implementing early write completion in a system comprising an initiator host, a target storage device, and a gateway therebetween, the method comprising:upon receipt of a first command from an initiator host, determining, at the gateway, whether a deferred error condition has been saved and returning at least a â€œcheck conditionâ€  status to the initiator host, otherwise, issuing a data transfer request command to the initiator host and issuing a write command to the target storage device; at the gateway, receiving data from the initiator host, and aborting the write command and transmitting predetermined status information to the initiator host if transfer of the data from the initiator host fails; at the gateway, checking that the target storage device has requested data in response to the write command and, absent a data request, checking for status information from the storage device and aborting the write command absent the status from the target storage device and transmitting status information from the storage device to the initiator host; when the target storage device has requested data, sending from the gateway the data to the target storage device and, transmitting at least good status to the initiator host; the target storage device storing the data and transmitting status representative thereof receiving the status information from the target storage device and, saving deferred status information when the status is not good, whereby the initiator host receives an early write completed status upon receipt of all the data from the initiator host and independent of transmission of any of the data to the target storage device.