Patent ID: 8666943

Claim:
A method comprising: determining, by a processor, 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; determining a data block of the clone file affected by the write request; determining 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 said determining that the data block at the current location cannot be modified comprises: determining that the data block is not associated with the second fileset; determining that the data block belongs to a generation different than a generation of the second fileset; and determining 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, implementing the write request with respect to the data block at a different location; and indicating that the data block at the different location can be modified for subsequent write requests that indicate the clone file.