Transactional file system for realizing atomic update of plural files by transactions
First Claim
Patent Images
1. A transactional file management method, comprising:
- (a) generating a log entry containing an information for validating all updates made by a transaction collectively on a stable memory device, for one or more files updated on a buffer region by the transaction since a start of a processing of the transaction until a commit of the transaction; and
(b) writing the log entry into the stable memory device at a time of the commit of the transaction such that a plurality of files updated by the transaction can be reflected on a file system in an atomic manner at a time of the commit and updates made before an abort can be cancelled at a time of the abort.
0 Assignments
0 Petitions
Accused Products
Abstract
A transactional file system which is capable of realizing atomic update of plural files by transactions is disclosed. In the transactional file system, a log entry containing an information for validating all updates made by a transaction collectively on a stable memory device, is generated for one or more files updated on a buffer region by the transaction since a start of a processing of the transaction until a commit of the transaction. Then, the log entry is written into the stable memory device at a time of the commit of the transaction.
37 Citations
12 Claims
-
1. A transactional file management method, comprising:
-
(a) generating a log entry containing an information for validating all updates made by a transaction collectively on a stable memory device, for one or more files updated on a buffer region by the transaction since a start of a processing of the transaction until a commit of the transaction; and
(b) writing the log entry into the stable memory device at a time of the commit of the transaction such that a plurality of files updated by the transaction can be reflected on a file system in an atomic manner at a time of the commit and updates made before an abort can be cancelled at a time of the abort. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. (Cancelled)
-
9. (Cancelled)
-
10. A transactional file system for managing files stored in a stable memory device and providing the files to processing by transactions, comprising:
-
a log entry generation unit configured to generate a log entry containing an information for validating all updates made by a transaction collectively on a stable memory device, for one or more files updated on a buffer region by the transaction since a start of a processing of the transaction until a commit of the transaction; and
a log entry writing unit configured to write the log entry into the stable memory device at a time of the commit of the transaction such that a plurality of files updated by the transaction can be reflected on a file system in an atomic manner at a time of the commit and updates made before an abort can be cancelled at a time of the abort.
-
-
11. (Cancelled)
-
12. A computer usable medium having computer readable program codes embodied therein for causing a computer to function as a transactional file system for managing files stored in a stable memory device and providing the files to processing by transactions, the computer readable program codes include:
-
a first computer readable program code for causing said computer to generate a log entry containing an information for validating all updates made by a transaction collectively on a stable memory device, for one or more files updated on a buffer region by the transaction since a start of a processing of the transaction until a commit of the transaction; and
a second computer readable program code for causing said computer to write the log entry into the stable memory device at a time of the commit of the transaction such that a plurality of files updated by the transaction can be reflected on a file system in an atomic manner at a time of the commit and updates made before an abort can be cancelled at a time of the abort.
-
Specification