Method for executing an error recovery procedure
First Claim
1. A method for operating a storage device connected to a host system, said method comprising the steps of:
- executing an error recovery procedure in response to an error occurring while attempting to execute an instruction to transfer data;
receiving a reset instruction from said host system, said reset instruction being received before completion of said error recovery procedure; and
continuing to execute said error recovery procedure until completion after receiving said reset instruction.
1 Assignment
0 Petitions
Accused Products
Abstract
An error recovery procedure (ERP) in a storage device such as a rotating magnetic hard disk drive is executed to the last step regardless of the established time-out period for an instruction, thereby more reliably recovering from errors. In accordance with one embodiment of the invention, when a disk drive receives a reset instruction from a host during the execution of an ERP, it executes the ERP until the error is recovered, or to the last step without interrupting the ERP. Further, in accordance with another embodiment of the invention, when a disk drive receives a reset instruction during the execution of an ERP, it stops execution of the ERP and holds the number K of the step which was completed immediately before stopping, and when receiving a retry instruction after that, sequentially executes the ERP from the K+1-th error recovery step.
34 Citations
22 Claims
-
1. A method for operating a storage device connected to a host system, said method comprising the steps of:
-
executing an error recovery procedure in response to an error occurring while attempting to execute an instruction to transfer data; receiving a reset instruction from said host system, said reset instruction being received before completion of said error recovery procedure; and continuing to execute said error recovery procedure until completion after receiving said reset instruction. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9)
-
-
10. A method for operating a storage device connected to a host system, said method comprising the steps of:
-
executing an error recovery procedure in response to an error occurring while attempting to execute an instruction to transfer data; receiving a reset instruction from said host system, said reset instruction being received after a portion of said error recovery procedure has been executed but before completion of said error recovery procedure; in response to said reset instruction, stopping the execution of said error recovery procedure and recording the portion of the error recovery procedure which has been executed; thereafter restarting the error recovery procedure and executing only that portion of the error recovery procedure which has not been executed. - View Dependent Claims (12, 13, 14, 15, 16)
-
-
11. A method for operating a storage device connected to a host system, said method comprising the steps of:
-
executing an error recovery procedure in response to an error occurring while attempting to execute an instruction to transfer data; receiving a reset instruction from said host system, said reset instruction being received after a portion of said error recovery procedure has been executed but before completion of said error recovery procedure; in response to said reset instruction, stopping the execution of said error recovery procedure and recording the portion of the error recovery procedure which has been executed; thereafter restarting the error recovery procedure and executing only that potion of the error recovery procedure which has not been executed wherein said error recovery procedure comprises a plurality of sequentially executed steps, wherein said step of recording the portion of the error recovery procedure which has been executed records an identifier corresponding to the K-th sequential step of said error recovery procedure, said K-th sequential step being the last step of said error recovery procedure that was completed before stopping execution of said error recovery procedure, and wherein said step of thereafter restarting the error recovery procedure restarts the error recovery procedure from the (K+1)-th sequential step of said error recovery procedure.
-
-
17. An apparatus for executing an error recovery procedure comprising a plurality of error recovery steps, said apparatus comprising:
-
a logic for executing error recovery steps; and a logic for receiving a reset signal, wherein said logic for executing error recovery steps executes the next error recovery step regardless of whether or not said logic for receiving a reset signal has received a reset signal.
-
-
18. An apparatus for executing an error recovery procedure comprising a plurality of error recovery steps, said apparatus comprising:
-
a logic for executing error recovery steps; a logic for receiving a reset signal, and a memory connected to said logic for executing error recovery steps, wherein said logic for executing error recovery steps responds to a reset signal to stop the execution of error recovery steps and store in said memory the number K of the step the execution of which has been completed immediately before stopping, and thereafter restarts the error recovery procedure to read out the value of K from said memory and sequentially execute the error recovery procedure from the K+1-th error recovery step.
-
-
19. A rotating magnetic disk drive storage device, comprising:
-
at least one rotatably mounted disk for storing magnetically encoded data; at least one transducer for recording and reproducing data on said at least one disk; a programmable processor for controlling the operation of said disk drive storage device; and a memory for storing a control program for execution on said programmable processor, said control program including an error recovery procedure for execution on said programmable processor in response to an error occurring while attempting to transfer data; wherein, when said programmable processor is executing said error recovery procedure in response to an error and said disk drive storage device receives a reset instruction from a host system before completion of said error recovery procedure, said control program causes said programmable processor to continue to execute said error recovery procedure until completion after receiving said reset instruction. - View Dependent Claims (20, 21)
-
-
22. A rotating magnetic disk drive storage device, comprising:
-
at least one rotatably mounted disk for storing magnetically encoded data; a transducer for recording and reproducing data on said at least one disk; a programmable processor for controlling the operation of said disk drive storage device; and a memory for storing a control program for execution on said programmable processor, said control program including an error recovery procedure for execution on said programmable processor in response to an error occurring while attempting to transfer data; wherein, when said programmable processor is executing said error recovery procedure in response to an error and said disk drive storage device receives a reset instruction from said host system after a portion of said error recovery procedure has been executed but before completion of said error recovery procedure, said control program causes said programmable processor to stop execution of said error recovery procedure and record the portion of the error recovery procedure which has been executed; and wherein said control program subsequently causes said programmable processor to restart said error recovery procedure and execute only that portion of the error recovery procedure which has already been executed.
-
Specification