VMware, Inc.
EMBEDDED REFERENCE COUNTS FOR FILE CLONES

Last updated:

Abstract:

Techniques for efficiently managing a file clone from a filesystem which supports efficient volume snapshots are provided. In some embodiments, a system may receive an instruction to remove the file clone from the filesystem. The file clone may be a point-in-time copy of metadata of an original file. The system may further--for a file map entry in a filesystem tree associated with the file clone, the file map entry indicating a data block--decrement a reference count in a reference count entry associated with the file map entry. The reference count entry may be stored in the filesystem tree according to a key and the key may comprise an identification of the original file. The system may further reclaim the data block in a storage system when the reference count is zero.

Status:
Application
Type:

Utility

Filling date:

11 Dec 2020

Issue date:

16 Jun 2022