Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

File deletion method and device for distributed file system, equipment and storage medium

A distributed file and file deletion technology, applied in file systems, file/folder operations, digital data information retrieval, etc., can solve the problems of large MDS cache space, affecting the normal operation of distributed file systems, etc., to reduce the impact, The effect of improving the performance of read and write services

Active Publication Date: 2019-04-12
LANGCHAO ELECTRONIC INFORMATION IND CO LTD
View PDF4 Cites 17 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] However, the file deletion in the free directory is processed asynchronously, and the metadata of the file to be deleted is still stored in the local cache of the MDS. The file deletion speed depends on the deletion speed of the OSD (Object-based Storage Device, Object Storage Server). If the MDS Deleting a large number of files in a short period of time will cause the metadata of these files to occupy a large MDS cache space, even exceeding the size of the MDS local cache space, seriously affecting the normal operation of other services in the distributed 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
  • File deletion method and device for distributed file system, equipment and storage medium
  • File deletion method and device for distributed file system, equipment and storage medium
  • File deletion method and device for distributed file system, equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0038] In order to enable those skilled in the art to better understand the solution of the present invention, the present invention will be further described in detail below in conjunction with the accompanying drawings and specific embodiments. Apparently, the described embodiments are only some of the embodiments of the present invention, but not all of them. 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.

[0039] The terms "first", "second", "third" and "fourth" in the specification and claims of this application and the above drawings are used to distinguish different objects, rather than to describe a specific order . Furthermore, the terms "comprising" and "having", and any variations thereof, are intended to cover a non-exclusive inclusion. For example, a process, method, system, product, or device compris...

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 deletion method and device for a distributed file system, equipment and a computer readable storage medium. The method comprises the steps that after afile deletion request sent by a client side is received, when the disk space occupation value of a free directory exceeds a preset cache threshold value, the file deletion request is arranged in a pre-established delay deletion waiting queue; after it is detected that the object storage server completes the current deletion request, awakening the file deletion request from the delay deletion waiting queue, so that the object storage server executes a file deletion operation; wherein the cache threshold value is not greater than the difference value between the local cache space capacity valueof the metadata server and the cache space capacity value of the metadata server required to be occupied during normal operation of the distributed file system. The influence of a large number of file deletion actions on the normal service processing of the distributed file system can be reduced, and the read-write service performance of the distributed file system can be improved.

Description

technical field [0001] Embodiments of the present invention relate to the technical field of distributed file systems, and in particular, to a file deletion method, device, device, and computer-readable storage medium of a distributed file system. Background technique [0002] With the rapid development of cloud technology and big data, the data shows explosive growth, the application of distributed file system is more and more widely, and the business scenarios used are relatively more and more. Naturally, the massive file deletion operation of distributed file system is Unavoidable scenarios in the application process of distributed file systems. [0003] Related technologies When deleting files in a distributed file system, MDS (Meta Data Controller, metadata server) is usually used to mount the metadata of the file to be deleted in a flat free directory, and then return the information that the file is deleted successfully to the client . [0004] However, the file del...

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/16G06F16/182
Inventor 罗浩
Owner LANGCHAO ELECTRONIC INFORMATION IND CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products