Supercharge Your Innovation With Domain-Expert AI Agents!

A Fast File Deletion Method in Distributed File System

A distributed file and deletion method technology, which is applied in the field of fast deletion of files in a distributed file system, can solve problems that affect data reading and writing, reduce the speed of deletion, and reduce the performance of system reading and writing.

Active Publication Date: 2017-06-23
SUGON INFORMATION IND
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] For a distributed file system, the ability to store massive amounts of data is its most important feature. When a large number of files are stored in the system and the files need to be deleted in large quantities, a large amount of disk io will often be generated, which directly affects normal data reading and writing. , reducing the read and write performance of the entire system
[0004] The traditional method is to hide the metadata of the file, and then recycle the corresponding data files in the metadata in the background. In order to reduce the impact on normal reading and writing, we can only limit the number of files recycled each time, although this can reduce the impact on the normal operation of the system. The impact of reading and writing, but greatly reduces the speed of deletion, that is, the speed at which disk space is re-used

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
  • A Fast File Deletion Method in Distributed File System

Examples

Experimental program
Comparison scheme
Effect test

Embodiment

[0042] A. Metadata Move the specified file to the directory to be deleted:

[0043] Create a hidden directory in the system, which is invisible to the client and is specially used to store files that have been deleted by the client but not processed by the corresponding object. When the metadata server receives the deletion request from the client, it only needs to move the specified file to the directory.

[0044] B. When the object is reused and the valid data does not reach the size of the previous object, when will the redundant object content be recycled.

[0045] In response to this situation, start a timer on the storage node to regularly scan objects that have not been written for a long time, and then confirm to the metadata server whether there is any redundant object content that has not been used, and if so, truncate the redundant content , to free up that part of the space.

[0046] The method for quickly deleting files in the distributed file system provided by...

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 method for fast deleting files in a distributed file system. According to the method, when the files in the distributed file system are deleted, corresponding metadata information on a metadata server is added to a recycle catalog, a deleting success signal is returned, the metadata server scans the recycle catalog at regular time and renames data objects corresponding to the files with new object names, the object names are file objects, to be distributed to new files, in the system in a next batch, in this way, when new file data are written in, renamed objects of the newly recycled files can be directly used, and when the files are read, the size of the effective data is judged according to the size of the files recorded in the metadata, so that the purpose of fast deleting the files without really deleting the disc objects or affecting normal read and write is achieved. Under most circumstances, it is unnecessary to delete the file data disc objects, and the files are really fast deleted without generating disc data IO or affecting read and write IO of the normal data.

Description

technical field [0001] The invention relates to a deletion method, in particular to a fast file deletion method in a distributed file system. Background technique [0002] A distributed file system generally includes a client, a metadata server and a data server. The client is responsible for formulating the access interface of the file data, the metadata server handles the layout and attributes of the file, and the data server stores the data content of the file. [0003] For a distributed file system, the ability to store massive amounts of data is its most important feature. When a large number of files are stored in the system and the files need to be deleted in large quantities, a large amount of disk io will often be generated, which directly affects normal data reading and writing. , reducing the read and write performance of the entire system. [0004] The traditional method is to hide the metadata of the file, and then recover the corresponding data files in the me...

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 Patents(China)
IPC IPC(8): G06F17/30
CPCG06F16/162G06F16/182
Inventor 郭照斌季旻姜国梁马振杰杨鹏
Owner SUGON INFORMATION IND
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More