Error recovery for input/output operations
AssigneeHewlett-Packard Development Company, L.P.
InventorsFrederick Knight, Susan Rundbaken, Rick Wagner
Life of this patent
Estimating the term…
Abstract
Method, system, and apparatus for executing input/output operations. The method including selecting a level of error recovery for input/output operations, receiving a request to execute the input/ output operation, attempting the input/output operation, and when the input/output operation fails, performing the level of error recovery specified. The selection of the error recovery level may be done by a user, or embedded within the input/output request itself.
Claims34
A method, comprising:
- selecting, by a user, a level of error recovery for input/output operations for a storage device;
- receiving a request to execute the input/output operation;
- attempting the input/output operation;
- and
- when the input/output operation fails, performing the level of error recovery specified by the user.
A storage device, comprising:
- a storage medium for storing data;
- a control circuit, coupled to the storage medium, that controls operation of the storage device;
- and
- an error recovery function associated with the control circuit, the error recovery function having a level of error recovery to use for all input/output operations, wherein the level of error recovery is selected from a plurality of different levels of error recovery and input from a user.
A method, comprising:
- tuning error recovery in a storage device by:
- receiving a user command to set an error recovery level of the storage device;
- when the command indicates one state, enabling limited error recovery for failed input/output operations;
- and
- when the command indicates another state, enabling a higher level of error recovery for failed input/output operations.
A method, comprising:
- receiving a request for an input/output operation;
- determining an error recovery level to use if the input/output operation fails;
- embedding a state signal that indicates the error recovery level into a command to execute the input/output operation;
- and
- issuing the command.
A method, comprising:
- receiving a request for an input/output operation;
- extracting a state signal from the request, the state signal indicating a level of error recovery to use for the input/output operation;
- attempting the input/output operation;
- and
- when the input/output operation fails, performing error recovery operations based on the extracted state signal.
A storage device, comprising:
- a storage medium for storing data;
- a control circuit, coupled to the storage medium, that controls operation of the storage device;
- and
- an error recovery function, associated with the control circuit, wherein the error recovery function receives an embedded state signal in an input/output request received by the control circuit, the state signal indicating an error recovery level to use for performing the input/output request.
A machine-readable medium having instructions stored thereon for performing a method for executing an input/output operation with a selectable error recovery level, the method comprising
- receiving a request for an input/output operation from an application program;
- determining whether the requested input/output operation relates to redundant data controlled by a logical storage manager;
- generating a state signal for use in error recovery if the input/output operation fails, wherein the state signal is based on the determination as to the existence of redundant data;
- embedding the state signal into a field of a command to execute the input/output operation;
- and
- issuing the command.
A machine-readable medium having instructions stored thereon for performing:
- receiving a request to execute an input/output operation, the request including an embedded state signal for use in error recovery if the input/output operation fails;
- attempting the input/output operation;
- and
- when the input/output operation fails,
- performing additional attempts when the embedded signal indicates one state, and
- immediately returning an error when the embedded signal indicates another state.
A machine-readable medium having instructions stored thereon for performing a method for executing an input/output operation with a selectable error recovery level, the method comprising:
- selecting, by a user, a level of error recovery for input/output operations for a storage device;
- receiving a request to execute the input/output operation;
- attempting the input/output operation;
- and
- when the input/output operation fails, performing the level of error recovery specified by the user.
Dependencies are inferred from the claim text.