Directory quota pre-application method and system, storage medium and equipment

A quota and directory technology, applied in the field of directory quota pre-application, can solve problems affecting system writing performance and other issues

Active Publication Date: 2021-07-06
SHANDONG YINGXIN COMP TECH CO LTD
View PDF7 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004]In view of this, the object of the present invention is to propose a method, system, storage medium and equipment for pre-application for directory quotas, which are used to solve the problems of each client in

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
  • Directory quota pre-application method and system, storage medium and equipment
  • Directory quota pre-application method and system, storage medium and equipment
  • Directory quota pre-application method and system, storage medium and equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0039] In order to make the object, technical solution and advantages of the present invention clearer, the embodiments of the present invention will be further described in detail below in combination with specific embodiments and with reference to the accompanying drawings.

[0040] It should be noted that all expressions using "first" and "second" in the embodiments of the present invention are used to distinguish two entities with the same name or different parameters. It can be seen that "first" and "second" " is only for the convenience of expression, and should not be understood as limiting the embodiment of the present invention. Furthermore, the terms "comprising" and "having", as well as any variations thereof, are intended to cover a non-exclusive inclusion, for example, of a process, method, system, product or other steps or elements inherent in a process, method, system, product, or device comprising a series of steps or elements.

[0041] Based on the above purpo...

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 invention provides a directory quota pre-application method and system, a storage medium and equipment. The method comprises steps of responding to initial writing of data into a directory by a client, pre-applying for a quota space greater than the initial writing data volume from a metadata server, and caching the quota space to the client; in response to completion of initial data writing, updating the remaining quota space; in response to the situation that the client writes data into the directory for the nth time and the remaining quota space after the last data writing is completed is smaller than the amount of the data written into the directory for the nth time, the quota space pre-applied this time being calculated on the basis of the remaining quota space after the last data writing is completed and the quota space pre-applied for the first time, and n being larger than or equal to 2; pre-applying for the quota space obtained by calculation from the metadata server, and continuing to write the data for the nth time; and reporting the quota cache information to the metadata server in response to the fact that the total usage amount of the quota space cached by the client reaches a preset threshold. According to the method, the interaction frequency between the client and the metadata server is reduced.

Description

technical field [0001] The present invention relates to the field of computer technology, in particular to a directory quota pre-application method, system, storage medium and equipment. Background technique [0002] In order to better manage directory capacity allocation and limit the capacity of different directories, the concept of directory quota is proposed. Set a certain quota capacity for the directory. Only the total amount of files that do not exceed the quota can be written in this directory. When the total capacity of files written in this directory reaches the quota size, further writing is prohibited. When a directory quota is set for a certain directory, when the client writes data to the directory, it first applies to the metadata server for the size of the IO write space for this time, and after the writing is completed, the quota information of the metadata server is updated. For a distributed file system, consider that multiple clients write data to the sa...

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
IPC IPC(8): G06F3/06
CPCG06F3/061G06F3/0631G06F3/0656G06F3/067
Inventor 刘少荘李文鹏
Owner SHANDONG YINGXIN COMP TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products