Unlock instant, AI-driven research and patent intelligence for your innovation.

Distributed file system metadata information reading method and system

A technology of metadata information and distributed files, applied in electronic digital data processing, special data processing applications, instruments, etc., can solve the problem of unable to obtain metadata information, unable to fully use inode number, and low reading speed of metadata information. question

Active Publication Date: 2017-06-20
ZHENGZHOU YUNHAI INFORMATION TECH CO LTD
View PDF5 Cites 12 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The biggest disadvantage of the latter is that it is impossible to directly obtain metadata information directly based on the file inode number
As a result, the file system cannot fully use the inode number to optimize the metadata mechanism, resulting in a low reading speed of metadata information.

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 metadata information reading method and system
  • Distributed file system metadata information reading method and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0028] 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.

[0029] The embodiment of the present invention discloses a distributed file system metadata information reading method, see figure 1 As shown, including steps S1 to S3, wherein:

[0030] Step S1: Obtain the path information of the inode number of the metadata to be read. Wherein, the above-mentioned path information is a pre-stored inode path corresponding to the above-mentioned metadata to be read.

[0031] The inode number of each file will be stored in a ...

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 metadata information reading method. The method comprises the steps of obtaining path information of inode numbers of metadata to be read; searching a database for corresponding inode information according to the path information; reading the metadata to be read according to the inode information, wherein the path information is a prestored inode path corresponding to the metadata to be read. Thus it can be seen that by pre-recording the path information of the inode numbers of the metadata, when the metadata needs to be read, inode numbers of a parent directory and an ancestor director are searched for in system caches according to the path information, thus the corresponding metadata is read, and thus the distributed file system metadata information reading velocity is obviously increased. The invention further discloses a distributed file system metadata information reading system which has the same technical effects as the method.

Description

technical field [0001] The invention relates to the technical field of metadata reading, in particular to a method and system for reading metadata information of a distributed file system. Background technique [0002] Distributed file system metadata information stores all attribute information and data storage locations of files. These metadata information are stored in inodes, that is, index nodes. Each file has a unique inode to store metadata information, and an inode will have a unique The inode number is used as the identification of the inode. [0003] As we all know, the distributed file system has three components: metadata service, data service and client. For the file IO operation of the distributed file system, the metadata information of the file must be obtained first, and then the data is operated. The metadata information stores all the attribute information of the file and the data storage location. These metadata information are stored in the inode, and ...

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
IPC IPC(8): G06F17/30
CPCG06F16/148G06F16/182
Inventor 张延良
Owner ZHENGZHOU YUNHAI INFORMATION TECH CO LTD