System and method for controlling client machine access to a portion of a file with a variable length
First Claim
1. A method for controlling client machine access to a variable length portion of a file stored at a server machine of a data processing system said variable length portion access defined by specifying specific units of data, said method comprising:
- allowing transfer of said portion of said file to a plurality of client machines while each of said plurality of client machines has read-only access to said portion of said file by said server'"'"'s issuing a read-only token to each one of said plurality of client machines having access to said portion of said file and requiring that said read-only tokens are at each of said plurality of client machines during a read operation; and
allowing transfer of said portion of said file to only a single client machine while said client machine has read/write access to said portion of said file by said server'"'"'s issuing a read/write token to said only a single client machine in response to a request by said single client machine for a read/write token and requiring that said read/write token is at said single client machine during a write operation.
3 Assignments
0 Petitions
Accused Products
Abstract
A system and method in which client access to data at a server is synchronized to keep the data consistent by ensuring that each portion of the data accessible for modification at a node is not accessible for reading or modification by any other node, while allowing portions of the data accessible only for reading to be accessible by any number of nodes. If a conflicting request arises from a different client the server must revoke data that has been previously distributed to a client. For a revoke-- bytes request, all outstanding get-- bytes are marked so that the bytes that are being requested to be revoked will be discarded when they do arrive at the client. To insure that read and write system calls on a file are performed in a serializable fashion throughout a distributed environment, each machine at which a read is being performed must acquire a read token and each machine at which a write is being performed must acquire a read/write token from the server for the file. When any machine has a read/write token, no machine is allowed to have a read token, although any number of machines may have a read token at the same time. The server coordinates the distribution of these tokens by revoking all read tokens whenever a write token is requested and revoking the write token whenever any read token is requested.
94 Citations
15 Claims
-
1. A method for controlling client machine access to a variable length portion of a file stored at a server machine of a data processing system said variable length portion access defined by specifying specific units of data, said method comprising:
-
allowing transfer of said portion of said file to a plurality of client machines while each of said plurality of client machines has read-only access to said portion of said file by said server'"'"'s issuing a read-only token to each one of said plurality of client machines having access to said portion of said file and requiring that said read-only tokens are at each of said plurality of client machines during a read operation; and allowing transfer of said portion of said file to only a single client machine while said client machine has read/write access to said portion of said file by said server'"'"'s issuing a read/write token to said only a single client machine in response to a request by said single client machine for a read/write token and requiring that said read/write token is at said single client machine during a write operation. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. A system for controlling client machine access to a variable length portion of a file stored at a server machine of a data processing system said variable length portion access defined by specifying specific units of data, said system comprising:
-
first means for allowing transfer of said portion of said file to a plurality of client machines while each of said plurality of client machines has read-only access to said portion of said file, said first means including means for issuing, by said server, a read-only token to each one of said plurality of client machines having read-only access to said portion of said file and for requiring that said read-only tokens are at said each of said plurality of client machines during a read operation; and second means connected to, and responsive to, said first means for allowing transfer of said portion of said file to only a single client machine while said client machine has read/write access to said portion of said file, said second means including means for issuing, by said server, a read/write token to said only a single client machine in response to a request by said single client machine for a read/write token and for requiring that said read/write token is at said single client machine during a write operation. - View Dependent Claims (10, 11, 12, 13, 14, 15)
-
Specification