Versioned file system with global lock
First Claim
Patent Images
1. A method of locking a shared file stored in a cloud-based network-attached file system (NAS), the method carried out at a local file system, comprising:
- creating a snapshot of a most recent version of the shared file without triggering a copy-on-write (COW) event in the local file system;
intercepting a local lock request initiated by a user of a local file system, the local lock request for write access to the shared file;
translating the local lock request having a first local protocol to a global lock request having a common lock format recognized and used by a central lock server to manage locking of the shared file, the common lock format comprising a unique identifier handle, a requested lock mode, and a protocol associated with the local lock request;
sending the global lock request from the local file system to the central lock server; and
receiving, at the local file system and from the central lock server, a global lock for the shared file together with a latest version of the shared file when the central lock server determines that the global lock is available, the latest version of the shared file having been retrieved from the cloud-based NAS by the central lock server using the unique identifier handle.
1 Assignment
0 Petitions
Accused Products
Abstract
A versioned file system comprising network accessible storage is provided. Aspects of the system include globally locking files or groups of files so as to better control the stored files in the file system and to avoid problems associated with simultaneous remote access or conflicting multiple access requests for the same files. A method for operating, creating and using the global locks is also disclosed. A multiprotocol global lock can be provided for filing nodes that have multiple network protocols for generating local lock requests.
127 Citations
31 Claims
-
1. A method of locking a shared file stored in a cloud-based network-attached file system (NAS), the method carried out at a local file system, comprising:
-
creating a snapshot of a most recent version of the shared file without triggering a copy-on-write (COW) event in the local file system; intercepting a local lock request initiated by a user of a local file system, the local lock request for write access to the shared file; translating the local lock request having a first local protocol to a global lock request having a common lock format recognized and used by a central lock server to manage locking of the shared file, the common lock format comprising a unique identifier handle, a requested lock mode, and a protocol associated with the local lock request; sending the global lock request from the local file system to the central lock server; and receiving, at the local file system and from the central lock server, a global lock for the shared file together with a latest version of the shared file when the central lock server determines that the global lock is available, the latest version of the shared file having been retrieved from the cloud-based NAS by the central lock server using the unique identifier handle. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31)
-
Specification