US 11,853,569 B2
Metadata cache warmup after metadata cache loss or migration
Mohammad Mahmood, Uttar Pradesh (IN); Aman Gupta, Uttar Pradesh (IN); Gaurav Jain, Bengaluru (IN); Anoop Jawahar, Bangalor (IN); and Prateek Kajaria, Bengaluru (IN)
Assigned to NUTANIX, INC., San Jose, CA (US)
Filed by NUTANIX, INC., San Jose, CA (US)
Filed on Apr. 22, 2021, as Appl. No. 17/237,289.
Claims priority of application No. 202141003816 (IN), filed on Jan. 28, 2021.
Prior Publication US 2022/0236872 A1, Jul. 28, 2022
Int. Cl. G06F 3/06 (2006.01)
CPC G06F 3/064 (2013.01) [G06F 3/0619 (2013.01); G06F 3/0653 (2013.01); G06F 3/0664 (2013.01); G06F 3/0679 (2013.01)] 24 Claims
OG exemplary drawing
 
1. One or more non-transitory computer-readable media storing program instructions that, when executed by one or more processors, cause the one or more processors to perform steps of:
in response to determining that pre-fetch data for a virtual disk indicates that a number of metadata entries previously cached for the virtual disk exceeds a first threshold or that a ratio of a working set size of the virtual disk to a size of the virtual disk is greater than a second threshold:
determining, by a node based on the pre-fetch data, identities of one or more target storage blocks of a plurality of storage blocks of the virtual disk, wherein the node previously cached metadata corresponding to the one or more target storage blocks;
pre-fetching, by the node, metadata corresponding to the one or more target storage blocks; and
storing, by the node, the metadata corresponding to the one or more target storage blocks in a cache memory of the node.