Data storage device and write processing method for data storage device
AssigneeFujitsu Limited
InventorNoriyuki Sato
Life of this patent
Estimating the term…
Abstract
In a data storage device, a head writes data so as to protect data from off track writing to adjust tracks. A control unit acquires large ring buffer during sequential writing and performs a retry to return adjacent tracks, according to data of a return sector area of the ring buffer when a write error occurs. A write error due to a detection mistake of an off track error can be prevented.
Claims18
A data storage device, comprising:
- a head which reads and writes data from/to a rotating storage medium;
- an actuator which positions the head on a desired track of the storage medium;
- a buffer memory which stores at least write data from a host;
- and
- a control circuit which receives a write command and write data from the host, writes the write data in a ring buffer of the buffer, reports write completion to the host, and writes the write data in the ring buffer to the storage medium in use of the head, wherein
- the control circuit judges whether the received write command is in a sequential relationship specifying a write area, which is continuous from the write area of the write data specified by the write command issued immediately before, expands a write return area in the ring buffer which secure one or more track area when determination is made that the received write command is in the sequential relationship, detects a write error which has occurred during writing the write data to the storage medium, and executes retry write of the write data for one or more tracks before the write error generated location, in use of the ring buffer.
A write processing method for a data storage device which positions a head for reading and writing data from/to a desired track of a rotating storage medium and reads and writes the data, the method comprising the steps of:
- receiving a write command and write data from a host;
- writing the write data to a ring buffer of a buffer memory, and reporting write completion to the host;
- and
- writing the write data in the ring buffer to the storage medium in use of the head, wherein
- the receiving step further comprises the steps of:
- judging whether the received write command is in a sequential relationship specifying a write area, which is continuous from the write area of the write data specified by the write command issued immediately before;
- expanding a write return area of the ring buffer which secure one or more tracks of area when determination is made that the received write command is in the sequential relationship;
- and
- detecting a write error which has occurred during writing the write data to the storage medium, and executing retry write of the write data for one or more tracks before the write error generation location, in use of the ring buffer.
Dependencies are inferred from the claim text.