Systems and methods for data migration in a clustered file system
First Claim
1. A computer-implemented method for coordinating access to data in a storage management system, the method comprising:
- requesting with one or more computers, a read-only lock on a signal file, wherein the locking status of the signal file indicates whether a migration operation is about to occur;
in response to the request for the read-only lock on the signal file being denied;
clearing with the one or more computers, an associated cache storing information regarding whether a given file stored on a primary storage device are associated with a stub file type, andoperating in a first locking mode associated with requests to access the given file, said operating in the first locking mode comprising refraining from using the associated cache to determine whether the given file is associated with the stub file type; and
in response to the request for the read-only lock on the signal file being granted;
unlocking the signal file and re-requesting the read-only lock on the signal file with the one or more computers after a predetermined period of time, andoperating in a second locking mode associated with the requests to access the given file, the second locking mode less strict than the first locking mode, said operating in the second locking mode comprising;
determining whether the associated cache includes information regarding the given file,in response to determining that the associated cache does not include information regarding the given file, analyzing a size or content of one or more inodes associated with the given file to determine whether the given file is associated with the stub file type, andin response to determining that the associated cache includes information regarding the given file, determining whether the given file is associated with the stub file type based on the information stored in the associated cache.
2 Assignments
0 Petitions
Accused Products
Abstract
Systems and methods for providing more efficient handling of I/O requests for clustered file system data subject to data migration or the like. For instance, exemplary systems can more quickly determine if certain files on primary storage represent actual file data or stub data for recalling file data from secondary storage. Certain embodiments utilize a driver cache on each cluster node to maintain a record of recently accessed files that represent regular files (as opposed to stubs). A dual-locking process, using both strict locking and relaxed locking, maintains consistency between driver caches on different nodes and the data of the underlying clustered file system, while providing improved access to the data by the different nodes. Moreover, a signaling process can be used, such as with zero-length files, for alerting drivers on different nodes that data migration is to be performed and/or that the driver caches should be flushed.
94 Citations
18 Claims
-
1. A computer-implemented method for coordinating access to data in a storage management system, the method comprising:
-
requesting with one or more computers, a read-only lock on a signal file, wherein the locking status of the signal file indicates whether a migration operation is about to occur; in response to the request for the read-only lock on the signal file being denied; clearing with the one or more computers, an associated cache storing information regarding whether a given file stored on a primary storage device are associated with a stub file type, and operating in a first locking mode associated with requests to access the given file, said operating in the first locking mode comprising refraining from using the associated cache to determine whether the given file is associated with the stub file type; and in response to the request for the read-only lock on the signal file being granted; unlocking the signal file and re-requesting the read-only lock on the signal file with the one or more computers after a predetermined period of time, and operating in a second locking mode associated with the requests to access the given file, the second locking mode less strict than the first locking mode, said operating in the second locking mode comprising; determining whether the associated cache includes information regarding the given file, in response to determining that the associated cache does not include information regarding the given file, analyzing a size or content of one or more inodes associated with the given file to determine whether the given file is associated with the stub file type, and in response to determining that the associated cache includes information regarding the given file, determining whether the given file is associated with the stub file type based on the information stored in the associated cache. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9)
-
-
10. A system that coordinates access to data, the system comprising:
-
one or more computers that request a read-only lock on a signal file; in response to the request for the read-only lock on the signal file being denied; the one or more computers are configured to clear an associated cache storing information regarding whether a given file stored on a primary storage device are associated with a stub file type, and the one or more computers are further configured to operate in a first locking mode associated with requests to access the given file, wherein in the first locking mode, the one or more computers are further configured to refrain from using the associated cache to determine whether the given file is associated with the stub file type; and in response to the request for the read-only lock on the signal file being granted; the one or more computers are further configured to unlock the signal file and re-request the read-only lock on the signal file with the one or more computers after a predetermined period of time, and the one or more computers are further configured to operate in a second locking mode associated with the requests to access the given file, the second locking mode less strict than the first locking mode, wherein in the second locking mode, the one or more computers are further configured to; determine whether the associated cache includes information regarding the given file, in response to determining that the associated cache does not include information regarding the given file, analyzing a size or content of one or more inodes associated with the given file to determine whether the given file is associated with the stub file type, and in response to determining that the associated cache includes information regarding the given file, determine whether the given file is associated with the stub file type based on the information stored in the associated cache. - View Dependent Claims (11, 12, 13, 14, 15, 16, 17, 18)
-
Specification