A user-mode file system processing method

A file system and processing method technology, applied in the processing field of user mode file system, can solve the problem of frequent switching, and achieve the effect of reducing back-and-forth switching, good compatibility, and improving IO bandwidth

Active Publication Date: 2019-03-08
HUAZHONG UNIV OF SCI & TECH
View PDF6 Cites 13 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The above method can improve data transmission performance to a certain extent, but it does not solve the essential problem: frequent switching between user mode and kernel mode during data transmission still exists

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 user-mode file system processing method
  • A user-mode file system processing method
  • A user-mode file system processing method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0041] In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention. In addition, the technical features involved in the various embodiments of the present invention described below can be combined with each other as long as they do not constitute a conflict with each other.

[0042] Before explaining the technical scheme of the present invention in detail, the meaning of relevant terms in the present invention is briefly explained:

[0043] Actual files: files in the user state file system, direct objects accessed by user state programs, one actual file corresponds to one metadata file and one or more data files;

[0044] Data file: a file in the user state file sys...

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 user-mode file system reqeust processing method, including sending data write request to kernel daemon to make kernel daemon directly write data to be written into data file,and establishing mapping table according to mapping relation between accessed actual file and data file, sending data write request to kernel daemon to make kernel daemon directly write data to be written into data file, and sending data write request to kernel daemon; then using the kernel daemon to send a metadata write request to the kernel daemon so that the kernel daemon writes the established mapping table into the metadata file; if the request is an actual file read request, using the kernel daemon to send a metadata read request to the kernel daemon so that the kernel daemon reads themapping table from the metadata file; sending a data read request to the kernel daemon to cause the kernel daemon to read the requested data directly from the data file according to the read mappingtable. The invention can reduce the switching times between the user state and the kernel state in the process of reading/writing the data file, and improve the data transmission performance.

Description

technical field [0001] The invention belongs to the field of file systems of computer operating systems, and more specifically relates to a processing method of file systems in user state. Background technique [0002] The user mode file system is a file system implementation manner different from conventional kernel file systems (such as EXT4, NTFS, etc.). The code of the user mode file system runs in the user mode, and a kernel mode daemon process realizes the communication with the real kernel interface. The user-mode file system framework is easy to develop, maintain and transplant, so it has been widely used in experiments and industries. [0003] The file system operation implemented by the user mode file system is stacked on the lower kernel file system, and each file corresponds to two files in the lower kernel mode file system: data file and metadata file, in which the data file stores the accessed Data, the metadata file stores the attribute information of the ac...

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): G06F3/06G06F16/13G06F16/188
CPCG06F3/061G06F3/0643G06F3/0667G06F3/0689
Inventor 姚杰张一凡严文瑞曹强
Owner HUAZHONG UNIV OF SCI & TECH
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