The invention discloses a
metadata management method,
system and a medium. All directories and files in a
file system are organized by adopting a
tree structure, and all the directories and sub-filesunder a single
directory are used as a whole and are sequentially stored in a continuous
address space of bottom-layer storage equipment according to a creation sequence. When the
metadata is updated,updating operations of all the subdirectories / subfiles in one
directory are added to the
tail of the
directory in sequence in a log form, so that only one IO request is initiated in each
metadata operation. When metadata retrieval is carried out, a sub-catalog is analyzed under a parent catalog, all data on a continuous
address space corresponding to the parent catalog are firstly read, and thenmultiple acceleration methods are adopted for searching and matching. According to the method, the large directory problem can be effectively solved, directory path analysis has lower
delay, the IO request number in the metadata access process can be reduced, and metadata access of a
file system can be accelerated.