Fast recovery using self-describing replica files in a distributed storage system
First Claim
Patent Images
1. A method for performing a write operation, the method comprising:
- storing a parent file on persistent storage in a filesystem;
atomically persisting one or more replica files of the stored file on persistent storage local to one or more respective replica nodes in the filesystem, wherein each replica file is embedded with a respective set of data, comprising;
chronology data and a metadata link to an inode of the parent file; and
atomically updating a map stored on persistent storage local to a metadata node, wherein the map maintains information for identifying, at a given replica node, each replica file having at least one block allocated at the given replica node.
1 Assignment
0 Petitions
Accused Products
Abstract
The embodiments relate to performing a write operation in a filesystem. Replica files embedded with respective sets of data are stored are on persistent storage local to replica nodes of the filesystem. The storage includes atomically updating the replica files to the replica nodes. Each set of data has information for self-characterizing each replica file. A map stored at persistent storage local to a remote node is updated. The map maintains information for identifying each replica file stored at each replica node.
11 Citations
20 Claims
-
1. A method for performing a write operation, the method comprising:
-
storing a parent file on persistent storage in a filesystem; atomically persisting one or more replica files of the stored file on persistent storage local to one or more respective replica nodes in the filesystem, wherein each replica file is embedded with a respective set of data, comprising;
chronology data and a metadata link to an inode of the parent file; andatomically updating a map stored on persistent storage local to a metadata node, wherein the map maintains information for identifying, at a given replica node, each replica file having at least one block allocated at the given replica node. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. A computer program product comprising a computer readable storage device having program code embodied therewith, the program code executable by a processing unit to:
-
store a parent file on persistent storage in a filesystem; atomically persist one or more replica files of the stored file on persistent storage local to one or more respective replica nodes in the filesystem, wherein each replica file is embedded with a respective set of data comprising;
chronology data and a metadata link to an inode of the parent file; andatomically update a map stored on persistent storage local to a metadata node, wherein the map maintains information for identifying, at a given replica node, each replica file having at least one block allocated at the given replica node. - View Dependent Claims (9, 10, 11, 12, 13, 14)
-
-
15. A filesystem comprising:
-
a processing unit in communication with memory; a metadata node in communication with the processing unit, the metadata node having local persistent storage; one or more replica nodes in communication with the metadata node, each replica node having local persistent storage; a write manager in communication with the processing unit, wherein the write manager performs a write operation comprising; storage of a parent file local to the metadata node; atomic persistence one or more replica files of the parent file at the one or more replica nodes, wherein each replica file is embedded with a respective set of data, comprising;
chronology data and a metadata link to an inode of the parent file; andan atomic update of a map stored local to the metadata node, wherein the map maintains information identifying, at a given replica node, each replica file having at least one block allocated at the given replica node. - View Dependent Claims (16, 17, 18, 19, 20)
-
Specification