Protection sector and database used to validate version information of user data
First Claim
Patent Images
1. A method comprising:
- receiving a write command with user data targeted to a data sector of a non-volatile memory;
committing the user data to be stored in the data sector, protection information bytes of the data being stored together with the data in the data sector, the protection information bytes including both a cyclic redundancy code and version information;
copying the protection information bytes to a distilled protection sector that stores protection information from multiple data sectors, wherein the distilled protection sector has a same size as the data sector, and wherein the distilled protection sector is appended with a second cyclic redundancy code and second version information;
receiving a read request for the data; and
in response to the read request, validating the protection information bytes in the data sector against the copy of the protection information bytes in the distilled protection sector.
1 Assignment
0 Petitions
Accused Products
Abstract
A write command includes data targeted to a data sector of a non-volatile memory. The data is committed to be stored in the data sector. Protection information bytes of the data are stored together with the data in the data sector, and the protection information bytes are copied to a distilled protection sector. A read request is received for the data and in response, the protection information in the data sector is validated against the copy of the protection information in the distilled protection sector.
-
Citations
19 Claims
-
1. A method comprising:
-
receiving a write command with user data targeted to a data sector of a non-volatile memory; committing the user data to be stored in the data sector, protection information bytes of the data being stored together with the data in the data sector, the protection information bytes including both a cyclic redundancy code and version information; copying the protection information bytes to a distilled protection sector that stores protection information from multiple data sectors, wherein the distilled protection sector has a same size as the data sector, and wherein the distilled protection sector is appended with a second cyclic redundancy code and second version information; receiving a read request for the data; and in response to the read request, validating the protection information bytes in the data sector against the copy of the protection information bytes in the distilled protection sector. - View Dependent Claims (2, 3, 4, 5, 6)
-
-
7. A method, comprising:
-
copying protection information from a data sector to a distilled protection sector on a first, non-volatile, data storage medium, the protection information comprising both a cyclic redundancy code and version information, only the version information of the protection information being tracked via in a database separate from the distilled protection sector; responsive to an update of the data sector, copy updated protection information of the data sector to the distilled protection sector, the update to the data sector including storing the updated protection information together with updated data of the data sector; responsive to copying the updated protection information, changing the version information in the database and recording the changed version information in the protection block of the distilled protection sector; and for a read of the data sector subsequent to the update, verifying the changed version information data in both the database and the distilled protection sector. - View Dependent Claims (8, 9, 10, 11, 12, 13)
-
-
14. An apparatus comprising:
-
one or more non-volatile memory sections comprising; a plurality of user data sectors comprising user data and protection information; a distilled protection sector with the protection information copied from the plurality of user data sectors, the protection information comprising both a cyclic redundancy code and version information; a database separate from the distilled protection sector, the database tracking the only the version information of the distilled protection sector; and a controller coupled to the one or more non-volatile memory sections and operable to perform; responsive to an update of a data sector of the user data sectors, update the protection information in the user data sector and copy the updated protection information of to the distilled protection sector, the update to the data sector including storing the updated protection information together with updated user data of the data sector, updating the protection information comprising changing the version information; responsive to copying the updated protection information, recording the changed version information in the database; and for a read of the data sector subsequent to the update, ensuring the changed version information data matches in both the database and the distilled protection sector. - View Dependent Claims (15, 16, 17, 18, 19)
-
Specification