×

File cloning across different filesets

  • US 8,650,158 B2
  • Filed: 09/10/2010
  • Issued: 02/11/2014
  • Est. Priority Date: 09/10/2010
  • Status: Expired due to Fees
First Claim
Patent Images

1. A computer program product for cloning a file across filesets in a clustered file system, the computer program product comprising:

  • a non-transitory computer readable storage medium having computer readable program code embodied therewith, the computer readable program code configured to,determine that a write request indicates a clone file that was cloned from a file in a first fileset, wherein the clone file is of a second fileset and a clustered file system comprises the first fileset and the second fileset;

    determine a data block of the clone file affected by the write request;

    determine that the data block at a current location cannot be modified based on whether the data block and the clone file are part of a same fileset, wherein the computer readable program code being configured to determine that the data block at the current location cannot be modified comprises the computer readable program code being configured todetermine that the data block is not associated with the second fileset;

    determine that the data block belongs to a generation different than a generation of the second fileset; and

    determine that the data block does not belong to a generation later than a generation of creation of the clone file; and

    in response to a determination that the data block at the current location cannot be modified,implement the write request with respect to the data block at a different location; and

    indicate that the data block at the different location can be modified for subsequent write requests that indicate the clone file.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×