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 from 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, wherein the step (b) writes the log entry into the stable memory device by dividing the log entry into segments of a constant size.
1 Assignment
0 Petitions
Accused Products
Abstract
A transactional file system capable of realizing atomic update of plural files by transactions. In the transactional file system, a log entry containing information for validating all updates made by 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.
-
Citations
3 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 from 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, wherein the step (b) writes the log entry into the stable memory device by dividing the log entry into segments of a constant size. - View Dependent Claims (2)
-
-
3. A composite transactional file system formed by a plurality of transactional file systems for managing files stored in a stable memory device and providing the files to processing by transactions, each transactional file system 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, wherein when one transaction updates a plurality of files in more than one transactional file system, the log entry generation unit of each transactional file system generates the log entry containing said information for one or more files updated by said one transaction in said each transactional file system, and the log entry writing unit of each transaction file system writes the log entry into the stable memory device corresponding to said each transactional file system by embedding another information for identifying another log entry for said one transaction that is generated in another transactional file system, into the log entry.
-
Specification