File system quota managing method, device and system

The technology of a file system and management method is applied in the field of file system quota management method, device and system, which can solve the problems of low quota operation efficiency and achieve the effect of improving operation efficiency

The technology of a file system and management method is applied in the field of file system quota management method, device and system, which can solve the problems of low quota operation efficiency and achieve the effect of improving operation efficiency

CN103559231AActive Publication Date: 2014-02-05HUAWEI TECH CO LTD

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • File system quota managing method, device and system
  • File system quota managing method, device and system
  • File system quota managing method, device and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0075] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention.

[0076] This embodiment is applicable to the file system quota management scenario in the file system. figure 1 It is a schematic flowchart of a file system quota management method provided by an embodiment of the present invention. The file system quota management method is executed by the file system quota management device, which is usually a part of the physical device of the computer. refer to figure 1 , the method includes the following steps:

[0077] 101. When the file system is loaded, obtain the quota item of each file system quota from the storage object, where the quota item includes configuration data and statistical data of the file system quota.

[0...

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 embodiment of the invention discloses a file system quota managing method, device and system, is applied to the field of computers and is used for solving the defect of low quota operation efficiency in the prior art. The method comprises, when a file system is loaded, obtaining the quota entry of every file system quota from a storage object, wherein every quota entry contains the configuration data and the statistical data of the corresponding file system quota; generating a quota tree according to the lists of all the file system quotas, the memory management object of the quota tree comprises two memory self-balancing binary search trees, wherein the first memory self-balancing binary search tree serves for management of the quota entries of user quotas of all the file system quota, and the second memory self-balancing binary search tree serves for management of the quota entries of group quotas of all the file system quotas; updating the quota entries, and storing the updated quota entry of every file system quota in the storage object. The file system quota managing method, device and system is applicable to file system quota management.

Description

technical field [0001] The invention relates to the field of computers, in particular to a file system quota management method, device and system. Background technique [0002] After the storage resources of the file system are provided to users, if they are not limited, there will be a danger of overuse. For example, some users create a large number of files and write a large amount of data, which takes up too much storage space and prevents other users from using the file system normally. [0003] The file system quota management function provides a fine-grained storage resource management method to solve these problems. Quotas allow administrators to easily limit the resources available to a single directory, to a single user, and to a single user group. Through these methods, system administrators can rationally allocate storage resources to individual resource users, avoiding the risk that some users overuse resources and make the file system unavailable. [0004] Qu...

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
05 Feb 2014
Publication
CN103559231A
IPC
G06F17/30; G06F12/16
CPC
G06F16/17
Inventors
ι™ˆζ˜Žε†›