Magnetic disk device and method of managing parity
AssigneesKabushiki Kaisha Toshiba, Toshiba Electronic Devices & Storage Corporation
InventorsTakahiro Kawai, Tetsuo Kuribayashi
Life of this patent
Estimating the term…
Abstract
According to one embodiment, a magnetic disk device includes a disk, a storage section, a first determination unit, and a first parity management unit. The first determination unit determines presence or absence of an unexecuted command. The first parity management unit searches the storage section for the first parity area after the first determination unit determines that there is no unexecuted command. The first parity management unit generates the first parity based on the first data in the first data area if the first parity area is detected as the invalid parity area, and writes the first parity to the first parity area.
Claims10
A magnetic disk device comprising:
- a disk including a first track, the first track including a first data area in which first data is recorded and a first parity area for recording first parity that is used to reconstruct the first data in the first data area;
- a storage section which stores information indicating whether the first parity area is a valid parity area in which the first parity is recorded or an invalid parity area in which the first parity is not recorded;
- a first determination unit which determines presence or absence of an unexecuted command;
- and
- a first parity management unit which starts to search the storage section for the first parity area after the first determination unit determines that there is no unexecuted command for a specified period of time, generates the first parity based on the first data in the first data area if the first parity area is detected as the invalid parity area, and writes the first parity to the first parity area.
A method of managing parity applied to a magnetic disk device, the magnetic disk device comprising:
- a disk including a first track, the first track including a first data area in which first data is recorded and a first parity area for recording first parity that is used to reconstruct the first data in the first data area;
- and a storage section which stores information indicating whether the first parity area is a valid parity area in which the first parity is recorded or an invalid parity area in which the first parity is not recorded,
- the method comprising:
- determining presence or absence of an unexecuted command;
- and
- starting to search the storage section for the first parity area after it is determined that there is no unexecuted command for a specified period of time, generating the first parity based on the first data in the first data area if the first parity area is detected as the invalid parity area, and writing the first parity to the first parity area.
Dependencies are inferred from the claim text.