METHOD AND SYSTEM FOR GUARANTEED TRAVERSAL DURING SHADOW MIGRATION
First Claim
1. A computer readable medium comprising software instructions, which when executed by a processor, perform a method, the method comprising:
- Receiving, from a client, a first file system (FS) operation request for a target FS;
making a first determination that migration for a source FS is not complete;
making a second determination that the first FS operation request specifies a directory and that a directory level attribute for the directory on the target FS specifies that the directory on the target FS is un-migrated;
in response to the first and second determination;
obtaining, from the source FS, meta-data for content in the directory;
creating, using the meta-data for content in the directory, a directory entry for a file in the directory on the target FS, wherein the directory entry for the file is associated with a file level attribute that specifies the file is un-migrated;
adding a unique identification (UID) for the file to a pending list;
adding an UID for the directory to a removed list;
servicing, after the creating, the first FS operation request using target FS.
1 Assignment
0 Petitions
Accused Products
Abstract
A method for migrating files including receiving, from a client, a file system (FS) operation request for a target FS, making a first determination that migration for a source FS is not complete, making a second determination that the FS operation request specifies a directory and that a directory level attribute for the directory on the target FS specifies that the directory is un-migrated. In response to the first and second determination, creating, using the meta-data for content in the directory, a directory entry for a file in the directory on the target FS, where the directory entry for the file is associated with a file level attribute that specifies the file is un-migrated, adding an unique identification (UID) for the file to a pending list, adding the UID for the directory to a removed list, and servicing, after the creating, the first FS operation request using target FS.
20 Citations
20 Claims
-
1. A computer readable medium comprising software instructions, which when executed by a processor, perform a method, the method comprising:
-
Receiving, from a client, a first file system (FS) operation request for a target FS; making a first determination that migration for a source FS is not complete; making a second determination that the first FS operation request specifies a directory and that a directory level attribute for the directory on the target FS specifies that the directory on the target FS is un-migrated; in response to the first and second determination; obtaining, from the source FS, meta-data for content in the directory; creating, using the meta-data for content in the directory, a directory entry for a file in the directory on the target FS, wherein the directory entry for the file is associated with a file level attribute that specifies the file is un-migrated; adding a unique identification (UID) for the file to a pending list; adding an UID for the directory to a removed list; servicing, after the creating, the first FS operation request using target FS. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10)
-
-
11. A computer system, comprising:
-
a processor; and a virtual file system layer (VFS) operatively connected to a source file system (FS) and a target FS, wherein the VFS, when executed by the processor, performs a method, the method comprising; receiving, from a client, a first file system (FS) operation request for a target FS; making a first determination that migration for a source FS is not complete; making a second determination that the first FS operation request specifies a directory and that a directory level attribute for the directory on the target FS specifies that the directory on the target FS is un-migrated; in response to the first and second determination; obtaining, from the source FS, meta-data for content in the directory; creating, using the meta-data for content in the directory, a directory entry for a file in the directory on the target FS, wherein the directory entry for the file is associated with a file level attribute that specifies the file is un-migrated; adding a unique identification (UID) for the file to a pending list; adding an UID for the directory to a removed list; updating, after the creating, the directory level attribute to indicate that the directory on the target FS is migrated; and servicing, after the creating, the first FS operation request using target FS. - View Dependent Claims (12, 13, 14, 15, 19, 20)
-
-
16. The computer system of claim 16, wherein the method further comprises:
updating, after the populating, the file level attribute to indicate that the file on the target FS is migrated. - View Dependent Claims (17, 18)
Specification