Unlock instant, AI-driven research and patent intelligence for your innovation.

A directory management method, device, equipment, and medium

A directory management and directory technology, applied in special data processing applications, file access structures, file systems, etc., can solve problems affecting file system performance, and achieve the effect of improving file system performance and reducing MDS load

Active Publication Date: 2022-04-22
LANGCHAO ELECTRONIC INFORMATION IND CO LTD
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

For an MDS, when triggering continuous directory subtree migration, the corresponding callback can be executed to update the index nodes saved in the corresponding vector after all the directory subtree migrations that need to be migrated are completed, which results in the actual saving of The directory subtree exceeds or is far below the upper limit set, which affects the performance of the file system

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • A directory management method, device, equipment, and medium
  • A directory management method, device, equipment, and medium
  • A directory management method, device, equipment, and medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0043] The following will clearly and completely describe the technical solutions in the embodiments of the application with reference to the drawings in the embodiments of the application. Apparently, the described embodiments are only some of the embodiments of the application, not all of them. Based on the embodiments in this application, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the scope of protection of this application.

[0044]Currently, for an MDS, when triggering continuous directory subtree migration, the corresponding callback can be executed to update the index nodes saved in the corresponding vector only after the migration of all directory subtrees that need to be migrated is completed, which will cause the MDS The directory subtree actually saved in the file exceeds or is far below the set upper limit, which in turn affects the performance of the file system. In view of this, the present app...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The present application discloses a directory management method, device, equipment, and medium. The method includes: when it is detected that a target directory subtree moves in and / or out of the target MDS, obtain the target directory corresponding to the target directory subtree. The number of directories; using the number of target directories, the total number of index nodes in the target vector, and the number of non-target MDS authorized directories in the target vector, determine the number of directory subtrees currently stored in the target MDS, and update the target The target index node corresponding to the directory subtree performs corresponding processing operations, wherein one directory subtree corresponds to one directory, and one index node corresponds to one said directory; determine whether the number of said directory subtrees is greater than or equal to the preset MDS can hold Directory subtree threshold; if yes, stop importing directory subtrees into the target MDS. In this way, the number of directory subtrees saved in the MDS can be precisely controlled, the load of the MDS can be reduced, and the performance of the file system can be improved.

Description

technical field [0001] The present application relates to the technical field of file systems, and in particular to a directory management method, device, equipment, and medium. Background technique [0002] In the file system, the directory tree is used as a metadata cache management mode, including the entire directory structure of the file system, so the directory tree is split into multiple directory subtrees, and the tree structure of the directory is retained inside each directory subtree. Distributed to different MDS services to achieve load balancing. In order to prevent the corresponding performance from being affected by too many directory subtrees, it is necessary to set an upper limit for the directory subtrees that each MDS (Metadata Server, Metadata Service) can hold. When the directory subtrees on the MDS are moved in or out During the process, it is necessary to ensure that the number of directory subtrees saved in each MDS does not exceed the upper limit. ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): G06F16/13
CPCG06F16/13
Inventor 赵培文孟祥瑞
Owner LANGCHAO ELECTRONIC INFORMATION IND CO LTD