Write pointer management for a disk drive
First Claim
1. A disk drive comprising:
- a disk including a plurality of sectors for storing data;
a non-volatile memory (NVM) for storing data;
a head configured to read data from the disk and write data to the disk; and
a controller configured to;
control the head to sequentially write data sector by sector on the disk, wherein the data written in each sector includes a write status indicator indicating that data has been written in the sector;
store a write pointer on the disk or the NVM as a check-pointed write pointer, wherein the write pointer corresponds to a current sector for writing data on the disk; and
during a write pointer recovery process when the check-pointed write pointer is retrievable;
retrieve the check-pointed write pointer from the disk or the NVM;
scan at least one write status indicator in a range of sectors from the sector corresponding to the retrieved check-pointed write pointer and a last sector to identify the current sector for writing data; and
set the write pointer to correspond to the identified current sector.
8 Assignments
0 Petitions
Accused Products
Abstract
Write pointer management for a disk drive including a disk having a plurality of sectors and a non-volatile memory (NVM) for storing data. Data is sequentially written sector by sector on the disk. The data written in a sector includes a write status indicator indicating that data has been written in the sector. A write pointer is stored on the disk or the NVM as a check-pointed write pointer. The write pointer corresponds to a current sector for writing data on the disk. During a write pointer recovery process, the check-pointed write pointer is retrieved, and at least one write status indicator is scanned in a range of sectors from the sector corresponding to the retrieved check-pointed write pointer and a last sector to identify the current sector for writing data. The write pointer is set to correspond to the identified current sector.
-
Citations
37 Claims
-
1. A disk drive comprising:
-
a disk including a plurality of sectors for storing data; a non-volatile memory (NVM) for storing data; a head configured to read data from the disk and write data to the disk; and a controller configured to; control the head to sequentially write data sector by sector on the disk, wherein the data written in each sector includes a write status indicator indicating that data has been written in the sector; store a write pointer on the disk or the NVM as a check-pointed write pointer, wherein the write pointer corresponds to a current sector for writing data on the disk; and during a write pointer recovery process when the check-pointed write pointer is retrievable; retrieve the check-pointed write pointer from the disk or the NVM; scan at least one write status indicator in a range of sectors from the sector corresponding to the retrieved check-pointed write pointer and a last sector to identify the current sector for writing data; and set the write pointer to correspond to the identified current sector. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16)
-
-
17. A method of operating a disk drive including a disk having a plurality of sectors for storing data and a non-volatile memory (NVM) for storing data, the method comprising:
-
sequentially writing data sector by sector on the disk, wherein the data written in each sector includes a write status indicator indicating that data has been written in the sector; storing a write pointer on the disk or the NVM as a check-pointed write pointer, wherein the write pointer corresponds to a current sector for writing data on the disk; and during a write pointer recovery process when the check-pointed write pointer is retrievable; retrieving the check-pointed write pointer from the disk or the NVM; scanning at least one write status indicator in a range of sectors from the sector corresponding to the retrieved check-pointed write pointer and a last sector to identify the current sector for writing data; and setting the write pointer to correspond to the identified current sector. - View Dependent Claims (18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32)
-
-
33. A non-transitory computer-readable medium storing computer-executable instructions for operating a disk drive including a disk having a plurality of sectors for storing data and a non-volatile memory (NVM) for storing data, wherein when the computer-executable instructions are executed by a processer, the processor:
-
controls the disk drive to sequentially write data sector by sector on the disk, wherein the data written in each sector includes a write status indicator indicating that data has been written in the sector; stores a write pointer on the disk or the NVM as a check-pointed write pointer, wherein the write pointer corresponds to a current sector for writing data on the disk; and during a write pointer recovery process when the check-pointed write pointer is retrievable; retrieve the check-pointed write pointer from the disk or the NVM; scan at least one write status indicator in a range of sectors from the sector corresponding to the retrieved check-pointed write pointer and a last sector to identify the current sector for writing data; and set the write pointer to correspond to the identified current sector.
-
-
34. A disk drive connected to a host, the disk drive comprising:
-
a disk including a plurality of sectors for storing data; a head configured to read data from the disk and write data to the disk; a memory storing a write pointer corresponding to a current sector for writing data on the disk; a host interface for receiving data from the host to be written on the disk; and a controller configured to; control the head to sequentially write the received data sector by sector on the disk, wherein a first portion of the received data is written in the current sector and the data written in each sector includes a write status indicator indicating that data has been written in the sector; and update the write pointer to correspond to a next available sector after writing the first portion of the received data in the current sector. - View Dependent Claims (35, 36, 37)
-
Specification