Conflict detection for queued command handling in disk drive controller
AssigneeWestern Digital Technologies, Inc.
InventorRichard M. Holmes
Life of this patent
Estimating the term…
Loading patent…
AssigneeWestern Digital Technologies, Inc.
InventorRichard M. Holmes
Estimating the term…
A conflict detection method for a disk drive controller is used to handle a conflict potentially occurring if the execution sequence of queued commands sent from a host to a controller is reordered to optimize disk drive transfers. The conflict detection method determines if there is an address range overlap between two queued commands. If an overlap exists, a conflict flag is set. The controller microprocessor utilizes this flag to restrict command reordering and prevent a conflict from producing erroneous data. Conflict detection and command reordering restriction are facilitated by a queued command RAM and a command FIFO. The queued command RAM stores command parameters indexed by command tag values. These parameters include command direction (read or write), LBA, block count, a valid flag and a conflict flag. The conflict detection method compares the address range of a new command with the address range of valid commands in the command RAM to determine range overlaps. If an overlap exists with a new write command, the conflict flag is set for both the write command and the overlapping commands in the queued command RAM. The microprocessor accesses the queued command RAM to determine which chronologically ordered commands in the FIFO must be executed in sequence.
A conflict detection method for a disk drive controller, a conflict potentially occurring if the execution sequence of queued commands sent from a host is reordered to optimize disk drive data transfers, the method comprising the steps of:
A disk drive controller for processing host commands, each having an address range, which are received in a first order from a host and queued for subsequent execution, wherein the queued commands can be executed in a second order for improved latency, the disk drive controller comprising:
Dependencies are inferred from the claim text.