System for queue based object cloning
AssigneeHitachi Vantara, Ltd.
InventorsNeil Berrington, Hoc D Ngo
Life of this patent
Estimating the term…
Loading patent…
AssigneeHitachi Vantara, Ltd.
InventorsNeil Berrington, Hoc D Ngo
Estimating the term…
A file cloning process allows for quickly cloning files within a filesystem, such as when a user makes a copy of a directory containing files and subdirectories of files. A priority based main queue is filled by a depth first traversal of the directory to be copied with work items corresponding to files and subdirectories. Worker threads refer to the main queue for file cloning, subdirectory copying and directory traversal. Files that have not been modified since a most recent checkpoint are cloned without issuing a checkpoint request. Files that have been modified since the most recent checkpoint are moved to a delay queue. Once a checkpoint of the file system completes, the files in the delay queue are then moved to the main queue to retry cloning thereof. A secondary queue is also provided to prevent worker threads from becoming deadlocked in the main queue.
A system, comprising:
At least one non-transitory, computer-readable storage medium encoded with instructions that, when executed on one or more processors, instruct the one or more processors to perform acts for copying a first object that stores a plurality of second objects, the acts comprising:
Dependencies are inferred from the claim text.