Distributed file system directory quota method, system and device and storage medium

A distributed file and system directory technology, applied in the field of distributed storage, can solve problems such as no quota implementation scheme, achieve the effect of reducing broadcasting and improving broadcasting efficiency

Inactive Publication Date: 2020-01-10
北京浪潮数据技术有限公司
View PDF2 Cites 7 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Since the client is separated from the metadata service, there is a lag in the amount of usage from the metadata update to each client, so when the capacity quota function is used in multi-clients, the excess will occur, and the more directory levels the more the excess serious
In the current distributed file system, there is no precise quota implementation scheme

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
  • Distributed file system directory quota method, system and device and storage medium
  • Distributed file system directory quota method, system and device and storage medium
  • Distributed file system directory quota method, system and device and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0040] 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. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0041] The embodiment of the present invention discloses a distributed file system directory quota method, see figure 1 As shown, the method includes:

[0042] S11: Receive a service processing instruction.

[0043] Specifically, the business processing instruction includes the quota required for this business and the tasks to be performed. Therefore, the business processing instruction is used to determine whether a quota is required in the future. The busin...

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 discloses a distributed file system directory quota method, system and device and a computer readable storage medium. The method comprises the steps of receiving a service processing instruction; judging whether the quota margin of a local directory meets the margin requirement for processing the service corresponding to the service processing instruction or not; if not, sending thequota application information to a metadata server; if yes, processing the service, and judging whether the accumulated quota usage amount of the local directory meets a preset reporting condition ornot during the last period for reporting of the quota margin of the local directory; if so, reporting the current quota margin of the local directory to the metadata server. According to the present invention, whether the quota margin of the local directory can meet the service processing requirement or not is actively judged before the service is processed, if not, the quota is applied to the metadata server, so that it is ensured that the situation that the quota is excessive after the service is processed is avoided, meanwhile, reporting is conducted only when the preset reporting conditionis met, the broadcasting frequency is reduced, and the broadcasting efficiency is improved.

Description

technical field [0001] The invention relates to the field of distributed storage, in particular to a distributed file system directory quota method, system, device and computer-readable storage medium. Background technique [0002] In a distributed file system, the implementation of directory capacity quotas is relatively simple and depends on the usage in directory metadata. Since the client is separated from the metadata service, there is a lag in the usage from the metadata update to each client, so when the capacity quota function is used in multi-clients, the excess will occur, and the more directory levels the more the excess serious. In the current distributed file system, there is no precise quota implementation scheme. [0003] Therefore, a distributed file system directory quota method is needed to avoid the situation of excess. Contents of the invention [0004] In view of this, the purpose of the present invention is to provide a distributed file system dire...

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 Applications(China)
IPC IPC(8): G06F16/182G06F16/16
CPCG06F16/182G06F16/16
Inventor 李旭东
Owner 北京浪潮数据技术有限公司
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