Serverless distributed file system
First Claim
Patent Images
1. A method implemented in a serverless distributed file system, the method comprising:
- receiving a request to open an object with one or more selected locks;
checking whether the one or more selected locks conflict with a lock already granted to another application,denying the request to open the object if the one or more selected locks conflict with a lock already granted to another application; and
granting the request to open the object only if the one or more selected locks do not conflict with a lock already granted to another application, wherein the granting comprises;
attempting to upgrade a particular selected lock of the one or more selected locks to a broader scope than the one or more selected locks indicated in the request such that upgrading the particular selected lock to the broader scope comprises upgrading the particular selected lock to a directory lock; and
activating a lease on the one or more selected locks.
1 Assignment
0 Petitions
Accused Products
Abstract
A serverless distributed file system manages the storage of files and directories using one or more directory groups. The directories may be managed using Byzantine-fault-tolerant groups, whereas files are managed without using Byzantine-fault-tolerant groups. Additionally, the file system may employ a hierarchical namespace to store files. Furthermore, the directory group may employ a plurality of locks to control access to objects (e.g., files and directories) in each directory.
-
Citations
23 Claims
-
1. A method implemented in a serverless distributed file system, the method comprising:
-
receiving a request to open an object with one or more selected locks; checking whether the one or more selected locks conflict with a lock already granted to another application, denying the request to open the object if the one or more selected locks conflict with a lock already granted to another application; and granting the request to open the object only if the one or more selected locks do not conflict with a lock already granted to another application, wherein the granting comprises; attempting to upgrade a particular selected lock of the one or more selected locks to a broader scope than the one or more selected locks indicated in the request such that upgrading the particular selected lock to the broader scope comprises upgrading the particular selected lock to a directory lock; and activating a lease on the one or more selected locks. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14)
-
-
15. One or more computer storage media having stored thereon a plurality of instructions to implement a serverless distributed file system, wherein the plurality of instructions, when executed, direct a computing system to perform a method comprising:
-
assigning responsibility for managing one or more directories to a directory group, wherein each member of the directory group is a computer participating in the serverless distributed file system; and employing a plurality of locks to control access to objects in each directory, wherein the plurality of locks comprise; a first set of locks to control opening of the objects, wherein the first set of locks comprises more than one lock; and a second set of locks, separate from the first set of locks, to control access to data in the objects, wherein the second set of locks comprises more than one lock. - View Dependent Claims (16, 17, 18, 19, 20, 21, 22, 23)
-
Specification