Method, device and equipment for returning quotas and computer storage medium

An implementation method and a technology for quotas, which are applied in computing, special data processing applications, instruments, etc., and can solve problems such as system performance impact, client-side quotas cannot be used by clients, and quota values ​​fail to apply.

Inactive Publication Date: 2018-02-23
ZHENGZHOU YUNHAI INFORMATION TECH CO LTD
View PDF3 Cites 12 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, when multiple clients have remaining quota values ​​when the user finishes writing data, and the metadata server does not have enough quota values ​​for other clients to apply for, it will cause other clients to apply for quotas when the user writes data The value fails, and the quota occupied by the client with the remaining value of the quota cannot be used by other clients, thereby reducing the utilization rate of the quota space and affecting the system performance to a certain extent

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
  • Method, device and equipment for returning quotas and computer storage medium
  • Method, device and equipment for returning quotas and computer storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0038] Embodiments of the present invention provide a quota return implementation method, device, device, and computer-readable storage medium, which improve the utilization rate of quota space during use and improve system performance to a certain extent.

[0039] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments It is a part of embodiments of the present invention, but not all embodiments. 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.

[0040] Please refer to figure 1 , figure 1 It is a schematic flowchart of a method ...

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

An embodiment of the invention discloses a method, a device and equipment for returning quotas and a computer readable storage medium. The method includes transmitting permission application information and quota value application information to a metadata service side according to write operation requests transmitted by users, wherein the quota value application information includes pre-application quota values; acquiring authorization information and allocated quota values fed by a metadata server; receiving data written by the users, recording timestamps of the data currently written by theusers, and updating the allocated quota values according to the data size of the currently written data to obtain current quota residual values; judging whether difference values of the timestamps ofthe currently written data and current timestamps are larger than preset values or not, judging whether the current quota residual values are larger than 0 or not if the difference values of the timestamps of the currently written data and the current timestamps are larger than the preset values, and returning the current quota residual values to the metadata server if the current quota residualvalues are larger than 0 so as to update total quota residua values by the aid of the metadata server according to the current quota residual values. The quota value application information comprisespre-application quota values. The method, the device, the equipment and the computer readable storage medium have the advantages that the utilization rate of quota spaces can be increased, and the performance of systems can be enhanced to a certain extent.

Description

technical field [0001] Embodiments of the present invention relate to the technical field of distributed file systems, and in particular, to a quota return implementation method, device, device, and computer-readable storage medium. Background technique [0002] When the user writes data, the client needs to pre-apply for the quota to the metadata server. After successfully applying for the quota value, the client writes the data. If the client finishes writing the data, the requested quota value remains , the remaining quota value will be reserved for the next data write. However, when multiple clients have remaining quota values ​​when the user finishes writing data, and the metadata server does not have enough quota values ​​for other clients to apply for, it will cause other clients to apply for quotas when the user writes data The value fails, and the quota occupied by the client with the remaining value of the quota cannot be used by other clients, thereby reducing th...

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): G06F17/30
CPCG06F16/172G06F16/1727G06F16/182G06F16/907
Inventor 苏志恒
Owner ZHENGZHOU YUNHAI INFORMATION 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