Managing files of file systems
AssigneeEMC Corporation
InventorsSitaram Pawar, Philippe Armangau, Jean-Pierre Bono, Christopher Seibel
Life of this patent
Estimating the term…
Abstract
A method is used in managing files of file systems. A group transaction record for an indirect data block of a file of a file system is created. The indirect data block of the file includes a set of data blocks of the file. A set of transaction entries is added to the group transaction record. Each transaction entry of the set of transaction entries includes information regarding an operation performed on a data block of the set of data blocks. The group transaction record is stored in a journal. The journal includes metadata transactions upon a plurality of files of a plurality of file systems.
Claims20
A method for use in managing files of file systems, the method comprising:
- creating a bulk transaction record for an indirect data block of a file of a file system, wherein the indirect data block of the file includes a set of data blocks of the file, wherein the bulk transaction record indicates updates to the indirect data block;
- adding a set of transaction entries to the bulk transaction record, wherein each transaction entry of the set of transaction entries includes metadata transaction information regarding an operation performed on a data block of the set of data blocks;
- and
- storing the bulk transaction record in a journal as a single metadata transaction instead of storing separate metadata transactions in the journal for each transaction entry included in the bulk transaction record, wherein the journal includes a persistent log, wherein the journal includes a set of bulk transaction records, each bulk transaction record of the set of bulk transaction records indicating changes to metadata of a plurality of files of a plurality of file systems, wherein the journal is used for recovering the file system by using the changes to the metadata stored in the journal for updating metadata of the plurality of file system organized on a persistent storage.
A system for use in managing files of file systems, the system comprising:
- first logic creating a bulk transaction record for an indirect data block of a file of a file system, wherein the indirect data block of the file includes a set of data blocks of the file, wherein the bulk transaction record indicates updates to the indirect data block;
- second logic adding a set of transaction entries to the bulk transaction record, wherein each transaction entry of the set of transaction entries includes metadata transaction information regarding an operation performed on a data block of the set of data blocks;
- and
- third logic storing the bulk transaction record in a journal as a single metadata transaction instead of storing separate metadata transactions in the journal for each transaction entry included in the bulk transaction record, wherein the journal includes a persistent log, wherein the journal includes a set of bulk transaction records, each bulk transaction record of the set of bulk transaction records indicating changes to metadata of a plurality of files of a plurality of file systems, wherein the journal is used for recovering the file system by using the changes to the metadata stored in the journal for updating metadata of the plurality of file system organized on a persistent storage.
Dependencies are inferred from the claim text.