Methods and Apparatuses for Data Protection
First Claim
1. A machine readable medium containing executable computer program instructions which when executed by a data processing system cause said system to perform a method for processing data, the method comprising:
- after a crash, retrieving a global transaction identifier; and
storing information indicating one or more transaction identifiers as invalid according to the global transaction ID.
0 Assignments
0 Petitions
Accused Products
Abstract
Methods and apparatuses for data protection against corrupted write operations. In one embodiment, a technique of crash protection uses an atomically updated global transaction indicator to switch a set of data structures from one set of versions to another set. In one embodiment, the storage space for multiple versions of a data structure is allocated at the time the data structure is created on the storage device so that the multiple versions of the data structure can be kept close by. Between two consistent points, some data structures are modified to create new versions without changing the corresponding previous versions; and unmodified data structures are not copied. At a consistent point, the global transaction indicator is updated to indicate a set of consistent versions of the data structures, such as metadata of a file system.
97 Citations
16 Claims
-
1. A machine readable medium containing executable computer program instructions which when executed by a data processing system cause said system to perform a method for processing data, the method comprising:
-
after a crash, retrieving a global transaction identifier; and storing information indicating one or more transaction identifiers as invalid according to the global transaction ID. - View Dependent Claims (2, 3, 4)
-
-
5. A machine readable medium containing executable computer program instructions which when executed by a data processing system cause said system to perform a method for processing data, the method comprising:
-
after a crash, retrieving information indicating one or more locations in a storage device; retrieving a global transaction ID; and searching the one or more locations in the storage device according to the information for one or more invalid versions of data based on checking whether or not a relation between a transaction identifier of a version of data and the global transaction ID is broken. - View Dependent Claims (6, 7, 8)
-
-
9. A method for processing data, the method comprising:
-
after a crash, retrieving a global transaction identifier; and storing information indicating one or more transaction identifiers as invalid according to the global transaction ID. - View Dependent Claims (10, 11)
-
-
12. A method for processing data, the method comprising:
-
after a crash, retrieving information indicating one or more locations in a storage device; retrieving a global transaction ID; and searching the one or more locations in the storage device according to the information for one or more invalid versions of data based on checking whether or not a relation between a transaction identifier of a version of data and the global transaction ID is broken. - View Dependent Claims (13, 14)
-
-
15. A device, comprising:
-
means for, after a crash, retrieving a global transaction identifier; and means for storing information indicating one or more transaction identifiers as invalid according to the global transaction ID.
-
-
16. A device, comprising:
-
means for, after a crash, retrieving information indicating one or more locations in a non-volatile portion of the device; means for retrieving a global transaction ID; and means for searching the one or more locations in the non-volatile portion of the device according to the information for one or more invalid versions of data based on checking whether or not a relation between a transaction identifier of a version of data and the global transaction ID is broken.
-
Specification