IP Library Granted Patent US 7,451,344
Granted Patent B1
US 7,451,344 · App. 11/102,330 · Granted Nov 11, 2008

Optimizing order of error recovery steps in a disk drive

View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 7,451,344
App. No.
11/102,330
Granted
Nov 11, 2008
Kind
B1
Abstract

A method is disclosed for ordering error recovery steps of an error recovery procedure executed by a disk drive, wherein each error recovery step having an execution time. The disk drive comprises a disk having a plurality of tracks, wherein each track comprises a plurality of data sectors. A plurality of step success counters are initialized, wherein each counter corresponds to one of the error recovery steps. A plurality of the error recovery steps are executed, wherein if an error recovery step successfully recovers one of the data sectors the corresponding step success counter is incremented. A step priority value is computed for each error recovery step in response to the step success counter and execution time for each step. The error recovery steps are then ordered in response to the step priority values.

Claims (35)

1. A disk drive comprising:

a disk comprising a plurality of tracks, wherein each track comprises a plurality of data sectors;

a head actuated over the disk; and

disk control circuitry for executing an error recovery procedure comprising a plurality of error recovery steps, wherein each error recovery step having an execution time, the disk control circuitry for ordering the error recovery steps by:

initializing a plurality of step success counters each corresponding to one of the error recovery steps;

executing a plurality of the error recovery steps for a plurality of the data sectors, wherein if one of the error recovery steps successfully recovers one of the data sectors, incrementing the corresponding step success counter;

computing a step priority value for each error recovery step in response to the step success counter and the execution time for each error recovery step; and

ordering the error recovery steps in response to the step priority values.

2. The disk drive as recited in claim 1 , wherein more than one of the error recovery steps may successfully recover a data sector.

3. The disk drive as recited in claim 2 , wherein the disk control circuitry further executes the steps of:

resetting the step success counters;

re-executing a plurality of the error recovery steps for a plurality of the data sectors, wherein the disk control circuitry terminates the error recovery procedure for a current data sector when one of the error recovery steps successfully recovers the data sector and increments the corresponding step success counter; and

reordering the error recovery steps in response to the step success counters.

4. The disk drive as recited in claim 3 , wherein:

the plurality of error recovery steps that are re-executed are consecutive after ordering the error recovery steps in response to the step priority values; and

the plurality of error recovery steps re-executed have the same execution time.

5. The disk drive as recited in claim 3 , wherein the disk control circuitry reorders the error recovery steps in response to the step success counters by pruning at least one of the error recovery steps from the error recovery procedure.

6. The disk drive as recited in claim 1 , wherein the disk control circuitry terminates the error recovery procedure for a data sector when one of the error recovery steps successfully recovers the data sector.

7. The disk drive as recited in claim 1 , wherein the disk control circuitry orders the error recovery steps in response to the step priority values by pruning at least one of the error recovery steps from the error recovery procedure.

8. A method of ordering a plurality of error recovery steps of an error recovery procedure executed by a disk drive, wherein each error recovery step having an execution time, the disk drive comprising a disk and a head actuated over the disk, wherein the disk comprises a plurality of tracks and each track comprises a plurality of data sectors, the method comprising the steps of:

initializing a plurality of step success counters each corresponding to one of the error recovery steps;

executing a plurality of the error recovery steps for a plurality of the data sectors, wherein if one of the error recovery steps successfully recovers one of the data sectors, incrementing the corresponding step success counter;

computing a step priority value for each error recovery step in response to the step success counter and the execution time for each error recovery step; and

ordering the error recovery steps in response to the step priority values.

9. The method as recited in claim 8 , wherein more than one of the error recovery steps may successfully recover a data sector.

10. The method as recited in claim 9 , further comprising the steps of:

resetting the step success counters;

re-executing a plurality of the error recovery steps for a plurality of the data sectors, wherein the error recovery procedure is terminated for a current data sector when one of the error recovery steps successfully recovers the data sector and the corresponding step success counter is incremented; and

reordering the error recovery steps in response to the step success counters.

11. The method as recited in claim 10 , wherein:

the plurality of error recovery steps that are re-executed are consecutive after ordering the error recovery steps in response to the step priority values; and

the plurality of error recovery steps re-executed have the same execution time.

12. The method as recited in claim 10 , wherein the step of reordering the error recovery steps in response to the step success counters comprises the step of pruning at least one of the error recovery steps from the error recovery procedure.

13. The method as recited in claim 8 , wherein the error recovery procedure is terminated for a data sector when one of the error recovery steps successfully recovers the data sector.

14. The method as recited in claim 8 , wherein the step of ordering the error recovery steps in response to the step priority values comprises the step of pruning at least one of the error recovery steps from the error recovery procedure.

Assignments (8)
PATENT COLLATERAL AGREEMENT - DDTL LOAN AGREEMENT Recorded Aug 21, 2023
From: WESTERN DIGITAL TECHNOLOGIES, INC.
To: JPMORGAN CHASE BANK, N.A.
Reel/Frame 067045/0156 →
PATENT COLLATERAL AGREEMENT - A&R LOAN AGREEMENT Recorded Aug 21, 2023
From: WESTERN DIGITAL TECHNOLOGIES, INC.
To: JPMORGAN CHASE BANK, N.A.
Reel/Frame 064715/0001 →
RELEASE OF SECURITY INTEREST AT REEL 038744 FRAME 0481 Recorded Feb 8, 2022
From: JPMORGAN CHASE BANK, N.A.
To: WESTERN DIGITAL TECHNOLOGIES, INC.
Reel/Frame 058982/0556 →
RELEASE OF SECURITY INTEREST Recorded Mar 5, 2018
From: U.S. BANK NATIONAL ASSOCIATION, AS COLLATERAL AGENT
To: WESTERN DIGITAL TECHNOLOGIES, INC.
Reel/Frame 045501/0714 →
SECURITY AGREEMENT Recorded May 17, 2016
From: WESTERN DIGITAL TECHNOLOGIES, INC.
To: JPMORGAN CHASE BANK, N.A., AS COLLATERAL AGENT
Reel/Frame 038744/0481 →
SECURITY AGREEMENT Recorded May 17, 2016
From: WESTERN DIGITAL TECHNOLOGIES, INC.
To: U.S. BANK NATIONAL ASSOCIATION, AS COLLATERAL AGENT
Reel/Frame 038744/0281 →
SECURITY AGREEMENT Recorded May 17, 2016
From: WESTERN DIGITAL TECHNOLOGIES, INC.
To: JPMORGAN CHASE BANK, N.A., AS COLLATERAL AGENT
Reel/Frame 038722/0229 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Apr 8, 2005
From: ROTHBERG, MICHAEL S.
To: WESTERN DIGITAL TECHNOLOGIES, INC.
Reel/Frame 016466/0505 →