Consolidating file system backend operations with access of data
First Claim
1. A method, in a data processing system, for performing a backend operation in a file system of the data processing system, comprising:
- initiating, by a processor of the data processing system, the backend operation on a portion of the file system, wherein the backend operation is an error correction operation for correcting an error in the portion of the file system;
creating, in a storage device of the data processing system, at least one indirect transition table data structure for performing the backend operation;
linking, by the processor, metadata corresponding to the portion of the file system to the at least one indirect transition table data structure;
performing, by the processor, the backend operation on data in a sub-portion of the portion of the file system;
updating the at least one indirect transition table data structure with pointers to new locations of the data in the sub-portion as transitions of the data, from a state in which the backend operation has not been performed to a state where the backend operation has been performed, are completed; and
performing, by the processor, at least one data access operation to the portion of the file system at substantially a same time as performing the backend operation on the data in the sub-portion of the portion of the file system, wherein the at least one data access operation does not target data in the sub-portion of the portion of the file system.
2 Assignments
0 Petitions
Accused Products
Abstract
Mechanisms for performing a backend operation in a file system are provided. A backend operation on a portion of the file system is initiated. At least one indirect transition table data structure is created for performing the backend operation. Metadata corresponding to the portion of the file system is linked to the at least one indirect transition table data structure. The backend operation is performed on data in a sub-portion of the portion of the file system and the at least one indirect transition table data structure is updated with pointers to new locations of the data in the sub-portion as transitions of the data are completed. At least one data access operation is performed to the portion of the file system at substantially a same time as performing the backend operation on the data in the sub-portion of the portion of the file system.
-
Citations
18 Claims
-
1. A method, in a data processing system, for performing a backend operation in a file system of the data processing system, comprising:
-
initiating, by a processor of the data processing system, the backend operation on a portion of the file system, wherein the backend operation is an error correction operation for correcting an error in the portion of the file system; creating, in a storage device of the data processing system, at least one indirect transition table data structure for performing the backend operation; linking, by the processor, metadata corresponding to the portion of the file system to the at least one indirect transition table data structure; performing, by the processor, the backend operation on data in a sub-portion of the portion of the file system; updating the at least one indirect transition table data structure with pointers to new locations of the data in the sub-portion as transitions of the data, from a state in which the backend operation has not been performed to a state where the backend operation has been performed, are completed; and performing, by the processor, at least one data access operation to the portion of the file system at substantially a same time as performing the backend operation on the data in the sub-portion of the portion of the file system, wherein the at least one data access operation does not target data in the sub-portion of the portion of the file system. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9)
-
-
10. A computer program product comprising a computer storage medium having a computer readable program stored thereon, wherein the computer readable program, when executed on a computing device, causes the computing device to:
-
initiate a backend operation on a portion of a file system of the computing device, wherein the backend operation is an error correction operation for correcting an error in the portion of the file system; create, in a storage device of the computing device, at least one indirect transition table data structure for performing the backend operation; link metadata corresponding to the portion of the file system to the at least one indirect transition table data structure; perform the backend operation on data in a sub-portion of the portion of the file system; update the at least one indirect transition table data structure with pointers to new locations of the data in the sub-portion as transitions of the data, from a state in which the backend operation has not been performed to a state where the backend operation has been performed, are completed; and perform at least one data access operation to the portion of the file system at substantially a same time as performing the backend operation on the data in the sub-portion of the portion of the file system, wherein the at least one data access operation does not target data in the sub-portion of the portion of the file system. - View Dependent Claims (11, 12, 13, 14, 15, 16, 17)
-
-
18. An apparatus, comprising:
-
a processor; and a memory coupled to the processor, wherein the memory comprises instructions which, when executed by the processor, cause the processor to; initiate a backend operation on a portion of a file system of the apparatus, wherein the backend operation is an error correction operation for correcting an error in the portion of the file system; create, in a storage device of the apparatus, at least one indirect transition table data structure for performing the backend operation; link metadata corresponding to the portion of the file system to the at least one indirect transition table data structure; perform the backend operation on data in a sub-portion of the portion of the file system; update the at least one indirect transition table data structure with pointers to new locations of the data in the sub-portion as transitions of the data, from a state in which the backend operation has not been performed to a state where the backend operation has been performed, are completed; and perform at least one data access operation to the portion of the file system at substantially a same time as performing the backend operation on the data in the sub-portion of the portion of the file system, wherein the at least one data access operation does not target data in the sub-portion of the portion of the file system.
-
Specification