Term-based methods and apparatus for access to files on shared storage devices
First Claim
1. A digital data processing system with improved access to information stored on a storage device, said system comprising:
- a first node and a second node coupled to one another over a network or other communications pathway, at least the second node being coupled to a storage device; and
a file system executing on at least the second node, the file system responding to a request by the first node by issuing a lease, the lease including a map pertaining to a file identified by the request and having a defined lease time; and
the first node utilizing the map in connection with accessing the file for the defined lease time, wherein the defined lease time has a lease expiry time referenced to a request time whereby the first and second node accurately determine the lease expiry time without requiring network time synchronization.
1 Assignment
0 Petitions
Accused Products
Abstract
Methods and apparatus for accessing files on networked digital data processing system provide for plurality of digital data processing nodes and a storage device, e.g., a disk drive, a “jukebox,” other mass storage device or other mapped device (collectively referred to herein after as “disk drive” or “storage device”). First and second ones of the nodes, which may be a client and a server node, respectively, are coupled for communication over a first communications pathway, e.g., a LAN or other network. Both the first and the second nodes are in communication coupling with the storage device over the same or different logical or physical communications pathways. A file system or other functionality in the second (server) node receives and responds to at least selected requests—e.g., file OPEN requests—from the first (client) node for access to a file on the storage device, by generating a “lease”. The lease includes a block map or other administrative data (referred to elsewhere herein as “meta data”) for the requested file, as well as an expiry time indicating how long the administrative data is valid. Upon grant of the lease, the client node accesses the storage device using the block map or other administrative data supplied with the lease. The server node assures that this administrative data remains valid for the period of the lease, e.g., such that the client node may directly access the requested file without risk that another node (or the server itself) has changed it. Correspondingly, the client node ceases utilization of the administrative data (and, presumably, ceases at least direct access of the file) after lease expiry.
-
Citations
19 Claims
-
1. A digital data processing system with improved access to information stored on a storage device, said system comprising:
-
a first node and a second node coupled to one another over a network or other communications pathway, at least the second node being coupled to a storage device; and
a file system executing on at least the second node, the file system responding to a request by the first node by issuing a lease, the lease including a map pertaining to a file identified by the request and having a defined lease time; and
the first node utilizing the map in connection with accessing the file for the defined lease time, wherein the defined lease time has a lease expiry time referenced to a request time whereby the first and second node accurately determine the lease expiry time without requiring network time synchronization. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. A digital data processing system with improved access to information stored on a storage device, said system comprising
a first node and a second node coupled to one another over a network or other communications pathway, at least the second node being coupled to a storage device, and; -
a file system executing on at least the second node, the file system responding to a request by the first node by issuing a lease, the lease including administrative data pertaining to a file identified by the request and having a defined lease time;
the first node utilizing the map in connection with accessing the file for the defined lease time; and
a file application running on the first node configured to prevent the first node from accessing or referencing data of a requested file after expiry of the lease granted for said file, wherein the file application running on the first node operates to complete a file write and report end-of-file pointer to the second node prior to lease expiry.
-
-
9. A digital data processing system with improved access to information stored on a storage device, said system comprising;
-
a first node and a second node coupled to one another over a network or other communications pathway, at least the second node being coupled to a storage device, a file system executing on at least the second node, the file system responding to request by the first node by issuing a lease, the lease including administrative data pertaining to a file identified by the request and having a defined lease time, the first node utilizing the map in connection with accessing the file for the defined lease time, wherein the file system executing on the second node includes an interface layer effective to transfer data designated by the request between the first node and the storage device via the second node, while maintaining administrative information pertaining to storage of the data designated by the request on the storage device, and to implement a bypass for interceding in response to at least a first selected access request applied thereby to the file system, by transferring data designated by that request between the first node and the storage device over a direct communications pathway in accord with administrative information maintained by the file system pertaining to storage of that data on the storage device while maintaining file coherence and security.
-
-
10. A method of permitting shared access to storage for files in a networked system, wherein the networked system includes first nodes, such method comprising the steps of:
-
responding to a file request by a first node by providing a lease having a lease time, wherein the lease includes a map for accessing the file in a storage device;
permitting the first node to directly access the storage device during the lease time;
assuring that the map remains valid during the lease time by providing a file system operative on a second node, wherein the second node interfaces with the storage system by interfacing with a native file system meta data controller to lock the file when a the lease is provided to prevent re-allocation of block addresses of the file during the lease time, whereby the first node may directly access the file without extraneous messaging over the networked system to coordinate file access and maintain coherence.
-
-
11. A method of permitting shared access to storage for files in a networked system, wherein the networked system includes first nodes, such method comprising the steps of:
-
responding to a file request by a first node by providing a lease having a lease time, wherein the lease includes a map for accessing the file in a storage device;
permitting the first node to directly access the storage device during the lease time;
assuring that the map remains valid during the lease time by providing a file system operative on a second node, wherein the second node interfaces with the storage system by interfacing with a native file system meta data controller to unlock the file upon expiry of the lease time of an outstanding lease to prevent re-allocation of block addresses of the file during the lease time, whereby the first node may directly access the file without extraneous messaging over the networked system to coordinate file access and maintain coherence.
-
-
12. A method of permitting shared access to storage for files in a networked system, wherein the networked system includes first nodes, such method comprising the steps of:
-
responding to a file request by a first node by providing a lease having a lease time, wherein the lease time is set as a function of one or more of file size, number of outstanding leases, as a constant function of access request type (read-only, read-write), and network response time, wherein the lease includes a map for accessing the file in a storage device;
permitting the first node to directly access the storage device during the lease time; and
assuring that the map remains valid during the lease time whereby the first node may directly access the file without extraneous messaging over the networked system to coordinate file access and maintain coherence.
-
-
13. A method of permitting shared access to storage for files in a networked system, wherein the networked system includes first nodes, such method comprising the steps of:
-
responding to a file request by a first node by providing a lease having a lease time, wherein the lease includes a map for accessing the file in a storage device;
permitting the first node to directly access the storage device during the lease time; and
assuring that the map remains valid during the lease time whereby the first node may directly access the file without extraneous messaging over the networked system to coordinate file access and maintain coherence, wherein the lease time has a lease expiry time referenced to a file request time whereby the first and second node accurately determine the lease expiry time without requiring network time synchronization. - View Dependent Claims (14, 15, 16, 17, 18, 19)
-
Specification