Patent ID: 7437502

Claim:
A disk drive comprising: (a) a disk comprising a plurality of data tracks, wherein each data track comprises a plurality of data sectors; (b) a head actuated over the disk; (c) an interface for receiving host commands from a host, each host command comprising a sector address for accessing one or more of the data sectors; (d) a history array for storing a plurality of history records, each history record having a history range identifying a range of sector addresses proximate the sector address of one of the host commands; and (e) control circuitry for: receiving a plurality of host commands from the host; comparing the sector address of each host command to the history records in the history array; adjusting a counter in response to each comparison; and configuring an operating mode of the disk drive into a new operating mode if the counter exceeds a first threshold, wherein the configuring includes adjusting at least one of the history range and the first threshold relative to the new operating mode.