Magnetic disk apparatus, read/write control method, and controller
AssigneeKabushiki Kaisha Toshiba
InventorYoriharu Takai
Life of this patent
Estimating the term…
Abstract
According to at least one embodiment, a magnetic disk apparatus includes a magnetic disk, a nonvolatile memory, a determination module, a write module, and a read module. The determination module determines whether the off-track write occurs on a first data sector during a write mode. The write module writes first data in the nonvolatile memory if the determination module determines that the off-track write occurs on the first data sector. The read module reads the first data from one of the magnetic disk and the nonvolatile memory based on a determination result of the determination module.
Claims12
A magnetic disk apparatus comprising:
- a magnetic disk, wherein data is written while a first set of neighboring tracks of the magnetic disk partially overlap each other;
- a nonvolatile memory;
- a buffer memory storing data to be written in the magnetic disk or in the nonvolatile memory;
- and
- a controller configured to:
- detect an off-track error with regard to data sectors of the magnetic disk;
- write first data read from the buffer memory in a first data sector of the magnetic disk;
- write the first data read from the buffer memory in the nonvolatile memory when an off-track error with regard to the first data sector is detected;
- write second data read from the buffer memory in the nonvolatile memory when the off-track error with regard to the first data sector is detected, the second data scheduled to be written in a second data sector of the magnetic disk, the second data sector being next to the first data sector, and the scheduled writing of the second data to the second data sector being skipped;
- write third data read from the buffer memory in the nonvolatile memory when the off-track error with regard to the first data sector is detected, the third data scheduled to be written in one round of a track of the magnetic disk including the first data sector;
- and
- read the first data from one of the magnetic disk and the nonvolatile memory based on whether the off-track error is detected with regard to the first data sector.
A write control method in a magnetic disk apparatus comprising a magnetic disk, a nonvolatile memory, and a buffer memory storing data to be written in the magnetic disk or in the nonvolatile memory, wherein the data read from the buffer memory is written while a first set of neighboring tracks of the magnetic disk partially overlap each other, the method comprising:
- detecting an off-track error with regard to data sectors of the magnetic disk;
- writing first data read from the buffer memory in a first data sector of the magnetic disk;
- writing the first data read from the buffer memory in the nonvolatile memory when an off-track error with regard to the first data sector is detected;
- writing second data read from the buffer memory in the nonvolatile memory when the off-track error with regard to the first data sector is detected, the second data scheduled to be written in a second data sector of the magnetic disk, the second data sector being next to the first data sector;
- skipping the scheduled writing of the second data to the second data sector;
- writing third data read from the buffer memory in the nonvolatile memory when the off-track error with regard to the first data sector is detected, the third data scheduled to be written in one round of a track of the magnetic disk including the first data sector.
A controller for a magnetic disk device comprising a magnetic disk and a nonvolatile memory, wherein data is written while a first set of neighboring tracks of the magnetic disk partially overlap each other, the controller configured to:
- detect an off-track error with regard to data sectors of the magnetic disk;
- write first data read from a buffer memory for storing data to be written in the magnetic disk or the nonvolatile memory, in a first data sector of the magnetic disk;
- write the first data read from the buffer memory in the nonvolatile memory when the off-track error with regard to the first data sector is detected;
- write second data read from the buffer memory in the nonvolatile memory when the off-track error with regard to the first data sector is detected, the second data scheduled to be written in a second sector of the magnetic disk, and the second data sector being next to the first data sector;
- skip the scheduled writing of the second data to the second data sector;
- write third data read from the buffer memory in the nonvolatile memory when the off-track error with regard to the first data sector is detected, the third data scheduled to be written in one round of a track of the magnetic disk including the first data sector, and
- read the first data from one of the magnetic disk and the nonvolatile memory based on whether the off-track error is detected with regard to the first data sector.
Dependencies are inferred from the claim text.