Patent ID: 9460177
Filing Date: 2016-10-04
CPC Classification: G06F

Claim Text:
1. A method for use in managing updating of metadata of file systems, the method comprising: storing a reference to a metadata entry in a global sync list configured to sync changes to metadata of a plurality of files of a plurality of file systems, wherein a file system of the plurality of file systems is registered with the global sync list by adding the file system to a list of registered file systems managed by a global sync management logic, wherein the global sync management logic manages syncing changes from the global sync list for the file system registered with the global sync list to a storage device, wherein the metadata entry is stored in a cache of a storage system and includes a change to metadata of a file of a file system, wherein a log entry is added to a journal upon receiving an I/O request for the file of the file system, wherein the log entry includes information regarding the change to the metadata of the file of the file system, wherein the journal includes metadata transactions upon the plurality of files of the plurality of the file system, wherein the reference to the log entry is added to the global sync list in the same order the log entry is added to the journal; creating a set of sync threads for the file system of the plurality of file systems upon receiving a request to perform a sync operation for the file system, wherein the set of sync threads iterates over references to metadata entries associated with the file system residing on the global sync list; and performing the sync operation on the references to the metadata entries stored in the global sync list by using the set of sync threads, wherein the sync operation includes applying the change to the metadata of the file of the file system indicated by the references to the metadata entries stored in the global sync list to metadata of the file system organized on the storage device using the metadata entry stored in the cache of the storage system.