On-line recovering method of junk metadata in distributed file system
A technology of distributed files and metadata, applied in electrical digital data processing, special data processing applications, instruments, etc., can solve the problems of service processing impact, waste of CPU resources, etc., and achieve the effect of saving storage resources and reducing load
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0016] (1) Index nodes are numbered with 64-bit unsigned integers, starting from 0, and gradually accumulating when assigning index node numbers. Since the range of numbers that can be expressed by 64-bit unsigned integers is very large, assuming that 10,000 index nodes are created in one second, it will take about 58494243 years for all 64 unsigned numbers to be used up, so it can be approximated that the number of index nodes is infinite . In the invention, the metadata of every 32K index nodes is stored in the same file, and all index node files are stored on the disk in a two-level tree structure directory according to the node numbers.
[0017] (2) Store the directory structure of the index node file according to figure 1 Organized into a multi-way search tree, each non-leaf node of the tree represents a subdirectory, while the leaf node represents the index node file, and each tree node is represented by a specific data structure. When deleting a file or directory, fir...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 