Patent ID: 8489655

Claim:
A method for restoring data segments of a rolled-back transaction in a clustered file system (CFS) using a processor device, the method comprising: restoring, in a cache, contents of the data segments that were modified during a transaction which is being rolled-back, to most recent contents of the data segments prior to the transaction commencing; and identifying locations of the most recent contents of the data segments that are restored, including, for the data segments modified during the transaction, identifying a location of the most recent contents of the data segments prior to the transaction commencing; wherein: if the data segments were marked as modified in the cache at the time the data segments were inserted into a list of data segments: determining the data segments to be a first type where the most recent contents of the data segments appear only in a transaction journal, and if the data segments are not marked as modified in the cache at the time the data segments were inserted into the list of data segments: determining the data segments to be a second type where the most recent contents of the data segments appear only in a final storage location.