Abstract: A method for managing persistent file handles includes starting an expiry timer and creating a Persistent File Handle (PHDL) container for storing extended file attributes including, a generation number (GN), a share GN (SGN), a previous SGN, and a timeout max value for an expiry timer, where a SGN is a timestamp of a volume migration or an online creation in relation to the expiry timer. The method additionally includes creating a PHDL iterator to update the SGNs for every volume exported to clients, volumes created online or for a restarting of a network-share service on a server. The method further includes triggering a clean-up of stale PHDL containers from a server memory based on a difference of the new SGN and the previous SGN being greater than the timeout maximum number else preserving the PHDL object container and updating the well-known key value.
Abstract: A system, method and computer program product for scalable metadata acceleration with datapath metadata backup as disclosed includes providing a plurality of metadata comprising variable block pointers for the physical location of system data. The method also includes storing at least a first and a second metadata in two or more solid state memories accelerated with respect to a read and a write of a memory in a datapath, each solid state memory configured as a logical copy of the other. The method additionally includes interleaving a backup metadata in a datapath memory at a variable interval based on a table of block pointers. The method further includes querying the accelerated metadata for an accelerated datapath operation of the system and querying the interleaved metadata and/or a logical mirror of the accelerated metadata for a rebuild operation of the accelerated metadata, each query determinable by the table of block pointers.