The invention discloses a multi-node
metadata management method for a persistent memory
file system in an NUMA
system, and relates to the technical field of novel storage of data centers. File
data access is a mixing process of file
metadata and file data, for example, in a file creating and deleting process,
global information of a
file system needs to be accessed so as to update
access time, idle data blocks, idle
inode and the like of the
file system; in the file reading and writing process, a
directory structure needs to be traversed, a file
metadata inode structure corresponding to a file name is searched, space is distributed, data is copied, file
system global information and file metadata
inode information are updated, and file reading and writing are completed. In the design of a current NUMA persistent memory file
system, the operation of remotely accessing metadata is involved in the file
data access process, so that the file read-write performance is reduced. According to the method, a redundant dynamic attribute
metadata management mechanism and a centralized
directory management
mechanism based on the
access frequency are adopted,
metadata management of the persistent memory file system in the NUMA system is optimized, and the influence of cross-node metadata access on file
data access performance is reduced.