Namespace consistency for a wide-area file system
First Claim
1. A method for a wide-area file system, including a plurality of replicas for a file, wherein each replica of the file and parent directories for the file are at each of a plurality of nodes, the method comprising:
- propagating an update to a replica of the file to other replicas of the file; and
in response receiving a propagated update to a replica at a node, updating the replica for the file at the node.
2 Assignments
0 Petitions
Accused Products
Abstract
The invention is a system for and a method of maintaining namespace consistency in a wide-area file system. In one embodiment, a wide-area file system has a plurality of replicas for a file. Each replica of a file and parent directories for the file are at a node. An update to a replica of the file is propagated to other replicas of the file. In response to receiving a propagated update to a replica at a node, the replica for the file at the node is updated. A directory operation (e.g., rename, link or unlink) may affect a backpointer for a replica. When a backpointer for a replica at a node is not consistent with the parent directories for the replica at the node, the the parent directories are modified to be consistent with the backpointer. A modification may be performed at a node while an earlier inconsistent modification may be ignored. As a result, consistency is maintained among the replicas.
129 Citations
69 Claims
-
1. A method for a wide-area file system, including a plurality of replicas for a file, wherein each replica of the file and parent directories for the file are at each of a plurality of nodes, the method comprising:
-
propagating an update to a replica of the file to other replicas of the file; and
in response receiving a propagated update to a replica at a node, updating the replica for the file at the node. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15)
-
-
16. A method for a wide-area file system, including a plurality of replicas for a file, and wherein upon access of the file by a user at a node, the method comprises steps of:
-
replicating parent directories for the file at the node; and
forming a replica of the file at the node wherein the replica includes a backpointer having an identification of a parent directory for the file and a name of the file within the parent directory. - View Dependent Claims (17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35)
-
-
36. A method for a wide-area file system including a first type of file replica and a second type of file replica wherein locations of replicas of the first type are registered in a parent directory for a file, and wherein upon access of a file by a user at a node, the method comprises steps of:
-
replicating the parent directory for the file at the node; and
forming a replica of the second type at the node wherein the replica of the second type includes a backpointer having an identification of the parent directory for the file and a name of the file within the parent directory. - View Dependent Claims (37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55)
-
- 56. A system including a plurality of nodes for storing replicas of files wherein for each replica at a node, the node stores parent directories for the file and a backpointer having an identification of a parent directory for the file and wherein updates to replicas of the file are propagated to other replicas of the file.
Specification