PROVIDING MULTIPLE CONCURRENT ACCESS TO A FILE SYSTEM
First Claim
1. A computer system providing concurrent access to data stored in accordance with a file system, the computer system comprising:
- a plurality of computers, wherein each of the computers accesses data in accordance with the file system;
a data storage unit networked to each of the plurality of computers and storing data in accordance with the file system, wherein the file system enables a file stored in the data storage unit to be accessible by each of the plurality of computers, without utilizing another computing entity acting on its behalf, by associating an owner field and a time field with the file, the owner field used to determine whether one of the plurality of computers currently has exclusive access to the file and the time field used to determine whether a time period for exclusive access to the file has expired.
1 Assignment
0 Petitions
Accused Products
Abstract
Multiple computers are connected to a data storage unit that includes a file system, which further includes multiple data entities, including files, directories and the file system itself. The file system also includes, for each data entity, an owner field for indicating which computer, if any, has exclusive or shared access to the data entity, along with a time field for indicating when a lease of the data entity began. When a computer wants to lease a data entity, the computer uses a disk reservation capability to temporarily lock the data storage unit, and, if the data entity is not currently leased, the computer writes its own identification value into the owner field and a current time into the time field for the data entity, to claim the data entity for a renewable lease period. If a prior lease of a data entity has expired, another computer may break the lease and claim ownership for itself.
117 Citations
20 Claims
-
1. A computer system providing concurrent access to data stored in accordance with a file system, the computer system comprising:
-
a plurality of computers, wherein each of the computers accesses data in accordance with the file system; a data storage unit networked to each of the plurality of computers and storing data in accordance with the file system, wherein the file system enables a file stored in the data storage unit to be accessible by each of the plurality of computers, without utilizing another computing entity acting on its behalf, by associating an owner field and a time field with the file, the owner field used to determine whether one of the plurality of computers currently has exclusive access to the file and the time field used to determine whether a time period for exclusive access to the file has expired. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10)
-
-
11. A non-transient computer readable storage medium comprising instructions that are to be executed in a computer for accessing a file in a file system configured to provide concurrent access to the data stored in accordance with the file system, wherein the computer is one of a plurality of computers networked to a data storage unit storing data in accordance with the file system and wherein the instructions cause the computer to carry out the steps of:
-
reading an owner field stored in the file system and associated with the file; if the owner field indicates that no other computer currently has exclusive access to the file, writing a unique identifier of the computer into the owner field and a time value into a corresponding time field thereby acquiring exclusive access to the file for a period of time indicated by the time value; if the owner field indicates that another computer has exclusive access to the file, reading the corresponding time field and, if the corresponding time field indicates that a time period has lapsed, writing the unique value into the ownership field and the time value into the corresponding time field thereby acquiring exclusive access to the file for a period of time indicated by the time value, else if the corresponding time field indicates a time period has not lapsed, delaying access to the file; and if exclusive access to the file has been acquired, accessing the file. - View Dependent Claims (12, 13, 14, 15)
-
-
16. A method for accessing a file in a file system configured to provide concurrent access to data stored in accordance with the file system, the method performed in a computer, without utilizing another computing entity acting on its behalf, networked to a data storage unit storing data in accordance with the file system and comprising:
-
reading an owner field stored in the file system and associated with the file; if the owner field indicates that no other computer currently has exclusive access to the file, writing a unique identifier of the computer into the owner field and a time value into a corresponding time field thereby acquiring exclusive access to the file for a period of time indicated by the time value; if the owner field indicates that another computer has exclusive access to the file, reading the corresponding time field and, if the corresponding time field indicates that a time period has lapsed, writing the unique value into the ownership field and the time value into the corresponding time field thereby acquiring exclusive access to the file for a period of time indicated by the time value, else if the corresponding time field indicates a time period has not lapsed, delaying access to the file; and if exclusive access to the file has been acquired, accessing the file. - View Dependent Claims (17, 18, 19, 20)
-
Specification