Claims
- 1. A method for testing at least one data track, of a disc of a disc drive storage system, to determine whether bytes of user data stored thereon represent the value zero (zero data bytes), the disc drive adapted to perform on-the-fly error correction code (ECC) correction of data bytes, the method comprising steps of:
(a) reading a data track; (b) performing on-the-fly counting of potential non-zero data bytes (potential count); (c) performing on-the-fly counting of sectors on which ECC correction has been performed (corrected sector count); (d) performing on-the-fly counting of user data bytes on which ECC correction has been performed (corrected byte count); and (e) checking whether at least one of the following conditions exists to confirm that the data track includes only zero data bytes:
(1) the potential count is zero; (2) the corrected sector count is equal to the potential count; and (3) the corrected sector count is one and the corrected byte count is equal to the potential count.
- 2. The method of claim 1, including a step (f) of proceeding to a next data track and repeating steps (b)-(e) when the data track includes only zero data bytes.
- 3. The method of claim 1, including a step (f) of checking whether at least one of the following conditions exists to confirm that the data track includes a non-zero data byte: (1) the potential count is greater than zero and the corrected sector count is zero; and (2) the corrected sector count is one and the corrected byte count is not equal to the potential count.
- 4. The method of claim 3, including a step (g) of performing a detailed check of the data track when the data track includes a non-zero data byte including locating the non-zero data byte and recording its location in an error log of the disc drive.
- 5. The method of claim 3, including a step (g) of checking whether the following condition exists to confirm that the data track potentially includes a non-zero data byte: the corrected sector count is greater than one and the corrected sector count is not equal to the potential count.
- 6. The method of claim 5, including a step (h) of performing a detailed check of the data track when the data track at least potentially includes a non-zero data byte including locating the non-zero data byte and recording its location in an error log of the disc drive.
- 7. The method of claim 4, wherein the performing step (g) comprises steps of:
(g)(1) reading a plurality of data sectors of the read track into a read buffer; (g)(2) fetching a data word from the read buffer; (g)(3) checking whether the data word contains only zero data bytes; (g)(4) recording a location of the data word in an error log when it does not contain only zero data bytes; (g)(5) repeating steps (g)(2)-(g)(4) until all of the data words of the read buffer have been fetched; (g)(6) reading a next plurality of data sectors of the read track into the read buffer; and (g)(7) repeating steps (g)(2)-(g)(6) until all of the sectors of the data track have been read into the read buffer.
- 8. The method of claim 4, wherein the performing step (g) comprises steps of:
(g)(1) reading a plurality of data sectors of the read track into a read buffer; (g)(2) repeating steps (a)-(f) to detect whether the non-zero data byte is contained within the plurality of data sectors; (g)(3) reading a next plurality of data sectors of the read track into the read buffer and repeating step (g)(2) when the plurality of data sectors does not contain a non-zero data byte; (g)(4) fetching a data word from the read buffer; (g)(5) checking whether the data word contains only zero data bytes; (g)(6) recording a location of the data word in an error log when it does not contain only zero data bytes; (g)(7) repeating steps (g)(4)-(g)(6) until all of the data words of the read buffer have been fetched; (g)(8) reading a next plurality of data sectors of the read track into the read buffer; and (g)(9) repeating steps (g)(2)-(g)(8) until all of the sectors of the data track have been read into the read buffer.
- 9. The method of claim 6, wherein the performing step (h) comprises steps of:
(h)(1) reading a plurality of data sectors of the read track into a read buffer; (h)(2) fetching a data word from the read buffer; (h)(3) checking whether the data word contains only zero data bytes; (h)(4) recording a location of the data word in an error log when it does not contain only zero data bytes; (h)(5) repeating steps (h)(2)-(h)(4) until all of the data words of the read buffer have been fetched; (h)(6) reading a next plurality of data sectors of the read track into the read buffer; and (h)(7) repeating steps (h)(2)-(h)(6) until all of the sectors of the data track have been read into the read buffer.
- 10. The method of claim 6, wherein the performing step (h) comprises steps of:
(h)(1) reading a plurality of data sectors of the read track into a read buffer; (h)(2) repeating steps (a)-(f) to detect whether the non-zero data byte is contained within the plurality of data sectors; (h)(3) reading a next plurality of data sectors of the read track into the read buffer and repeating step (h)(2) when the plurality of data sectors does not contain a non-zero data byte; (h)(4) fetching a data word from the read buffer; (h)(5) checking whether the data word contains only zero data bytes; (h)(6) recording a location of the data word in an error log when it does not contain only zero data bytes; (h)(7) repeating steps (h)(4)-(h)(6) until all of the data words of the read buffer have been fetched; (h)(8) reading a next plurality of data sectors of the read track into the read buffer; and (h)(9) repeating steps (h)(2)-(h)(8) until all of the sectors of the data track have been read into the read buffer.
- 11. The method of claim 7, including a step (h) of proceeding to a next data track and returning to step (b) until all of the data tracks have been tested.
- 12. The method of claim 8, including a step (h) of proceeding to a next data track and returning to step (b) until all of the data tracks have been tested.
- 13. The method of claim 9, including a step (i) of proceeding to a next data track and returning to step (b) until all of the data tracks have been tested.
- 14. The method of claim 10, including a step (i) of proceeding to a next data track and returning to step (b) until all of the data tracks have been tested.
- 15. A disc drive storage system comprising:
a magnetic disc having a plurality of data tracks with data bytes stored therein; a read/write head adapted for reading data from and writing data to the data tracks; an system controller including an error counter, an ECC sector counter, and an ECC byte counter, the system controller programmed to perform steps of:
(a) reading a data track; (b) performing on-the-fly counting of potential non-zero data bytes (potential count) using the error correction counter; (c) performing on-the-fly counting of sectors on which ECC correction has been performed (corrected sector count) using the ECC sector counter; (d) performing on-the-fly counting of user data bytes on which ECC correction has been performed (corrected byte count) using the ECC byte counter; and (e) checking whether at least one of the following conditions, which, if true confirms that the data track includes only zero data bytes:
(1) the potential count is zero; (2) the corrected sector count is equal to the potential count; and (3) the corrected sector count is one and the corrected byte count is equal to the potential count.
- 16. A disc drive storage system comprising:
a disc containing a plurality of data tracks with user data bytes stored thereon; and a testing means for testing whether conditions exist relating to on-the-fly counts to determine whether a data track includes at least one of only zero data bytes, a non-zero data byte, and a potentially non-zero data byte.
- 17. The disc drive storage system of claim 16 wherein the on-the-fly counts include:
a potential count relating to a number of potential non-zero data bytes; a corrected sector count relating to a number of sectors on which ECC correction has been performed; and a corrected byte count relating to a number of data bytes on which ECC correction has been performed.
- 18. The disc drive storage system of claim 17 wherein the conditions include at least one of:
the potential count is zero; the corrected sector count is equal to the potential count; the corrected sector count is one and the corrected byte count is equal to the potential count; the value of the potential count is greater than zero and the corrected sector count is zero; the value of the corrected sector count is one and the corrected byte count is not equal to the potential count; and the corrected sector count is greater than one and the sector count is not equal to the potential count.
CROSS-REFERENCE TO RELATED APPLICATION
[0001] The present invention claims priority to U.S. Provisional Application 60/280,883, filed Apr. 2, 2001 and entitled “ADVANCE SOFTWARE VERIFICATION FOR PATTERN ZERO IN DISC DRIVE.”
Provisional Applications (1)
|
Number |
Date |
Country |
|
60280883 |
Apr 2001 |
US |