Delegation of metadata management in a storage system by leasing of free file system blocks from a file system owner
First Claim
1. A method of operating a primary data processor and a secondary data processor for access to a file system in data storage, said method comprising:
- the primary data processor managing locks upon files in the file system, and managing allocation of free blocks of the file system; and
appending new data to a file in the file system by the secondary data processor obtaining an allocation of at least one free block from the primary data processor, the secondary data processor writing the new data to the free block, the secondary data processor obtaining a lock on the file from the primary data processor, and the secondary data processor updating metadata of the file.
9 Assignments
0 Petitions
Accused Products
Abstract
Metadata management in a file server or storage network is delegated from a primary data processor to a secondary data processor in order to reduce data traffic between the primary data processor and the secondary data processor. The primary data processor retains responsibility for managing locks upon objects in the file system that it owns, and also retains responsibility for allocation of free blocks and inodes of the file system. By leasing free blocks and inodes to the secondary and granting locks to the secondary, the secondary can perform the other metadata management tasks such as appending blocks to a file, truncating a file, creating a file, and deleting a file.
144 Citations
20 Claims
-
1. A method of operating a primary data processor and a secondary data processor for access to a file system in data storage, said method comprising:
-
the primary data processor managing locks upon files in the file system, and managing allocation of free blocks of the file system; and
appending new data to a file in the file system by the secondary data processor obtaining an allocation of at least one free block from the primary data processor, the secondary data processor writing the new data to the free block, the secondary data processor obtaining a lock on the file from the primary data processor, and the secondary data processor updating metadata of the file. - View Dependent Claims (2, 3, 4)
-
-
5. A method of operating a primary data processor and a secondary data processor for access to a file system in data storage, said method comprising:
-
the primary data processor managing locks upon files in the file system, and managing allocation of free blocks of the file system; and
the secondary data processor appending new data to a file in the file system by obtaining an allocation of at least one free block from the primary data processor, writing the new data to the free block, obtaining a lock on the file from the primary data processor, and linking the free block to the file. - View Dependent Claims (6, 7, 8, 9, 10, 11, 12)
-
-
13. A storage system comprising:
-
data storage containing a file system;
a primary data processor linked to the data storage for access to metadata of the file system for locking files of the file system and allocating free blocks in the file system; and
a secondary data processor linked to the data storage for access to data and metadata of the file system over a data path that bypasses the primary data processor, and linked to the primary data processor for requesting and obtaining locks on the files in the file system and requesting and obtaining allocations of free blocks in the file system;
wherein the secondary data processor is programmed for writing data to a specified file in the file system by obtaining an allocation of at least one free block from the primary data processor, writing data to said at least one free block, obtaining a lock on the specified file from the primary data processor, and appending said at least one free block to the specified file by writing new metadata for the specified file to the file system in the data storage over the data path that bypasses the primary data processor. - View Dependent Claims (14, 15, 16, 17, 18, 19, 20)
-
Specification