Patent ID: 11934347
Assignee: EMC IP HOLDING COMPANY LLC
Field: Computer technology (Electrical engineering)
Classification: CPC G | IPC G

Claim 0:
1. A system, comprising:
a processor; and
a memory that stores executable instructions that, when executed by the processor, cause the system to perform operations, the operations comprising:
maintaining an in-memory virtual view snapshot generation counter that is increased in response to a snapshot of a virtual view being created, wherein a virtual inode is associated with at least one filesystem object represented in the virtual view;
instantiating an in-memory virtual inode cache dataset for the filesystem object represented in the virtual view, the in-memory virtual inode cache dataset comprising:
a snapshot generation counter initialized based on the in-memory virtual view snapshot generation counter,
sharing-related data initialized based on an inode mapping file entry corresponding to a real inode associated with the filesystem object, resulting in a shared filesystem object, and
an inode mapping pointer weight initialized based on a weight stored in the inode mapping file entry;

maintaining an in-memory inode total weight corresponding to the real inode associated with the shared filesystem object, wherein the sharing-related data comprises a leaf shared value, and wherein the leaf shared value is indicative of whether sharing exists at a level of an inode; and
determining whether the real inode associated with the filesystem object is shared among a group of virtual views based on the in-memory virtual view snapshot generation counter and the in-memory virtual inode cache dataset, wherein the determining determines that the real inode is shared based on determining that the leaf shared value and the inode mapping pointer weight are less than the in-memory inode total weight,
wherein the virtual view is configured to allow access to select objects of the filesystem, and
wherein the virtual inode maps to the real inode according to a table associated with the virtual view.