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

A method and system for fast reading of a hole file by an upper file system

A file system and hole technology, applied in special data processing applications, instruments, electrical digital data processing, etc., can solve problems such as high pressure and performance loss, and achieve the effect of reducing pressure and increasing speed

Active Publication Date: 2018-05-01
ZTE CORP
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0008] The purpose of the present invention is to provide a method and system for fast reading of empty files by the upper file system, which can better solve the problem of excessive pressure on system memory replication and process switching caused by severe performance loss when Fuse reads empty files

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 method and system for fast reading of a hole file by an upper file system
  • A method and system for fast reading of a hole file by an upper file system
  • A method and system for fast reading of a hole file by an upper file system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0055] The preferred embodiments of the present invention will be described in detail below in conjunction with the accompanying drawings. It should be understood that the preferred embodiments described below are only used to illustrate and explain the present invention, and are not intended to limit the present invention.

[0056] figure 1 It is a schematic diagram of a method for fast reading of empty files by an upper-level file system provided by an embodiment of the present invention, as shown in figure 1 As shown, the method includes the following steps:

[0057] Step S101, plugging an empty file processing system on the Fuse kernel component;

[0058] Fuse includes the Fuse kernel component and the Fuse upper module. Among them, there is an interface between the Fuse kernel component and the empty file processing system. After receiving the page request from the kernel, the Fuse kernel component will request the empty file processing system through its interface with ...

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 method and system for quickly reading empty files by an upper file system. The method includes attaching an empty file processing system to a Fuse kernel component; the empty file processing system performs emptying on files in the upper file system Discriminate, find and mark the empty page of the file, and add an empty mark to the empty page; in the process of reading the file, for the empty page with the empty mark, the empty file processing system stops the upper file system from reading it. By pre-marking empty pages, the present invention solves the problem of serious performance loss when fuse reads empty files, which leads to excessive pressure in system memory copying and process switching, and enhances its support for empty files. In the case of file holes, It can return quickly without complicated scheduling to the upper file system, which improves the performance of reading certain files with a large number of holes.

Description

technical field [0001] The invention relates to a file system of a computer system, in particular to a method and a system for accelerating reading of empty files by an upper file system based on a posix (Portable Operating System Interface of Unix) interface. Background technique [0002] A file system is a method of storing and organizing computer files, directories, and the data they contain so that the files, directories, and data can be easily found and accessed. [0003] With the rapid development of the multimedia industry, due to cost, reliability and other considerations, more and more manufacturers choose to deploy self-developed distributed upper-level storage systems in their products, and the distributed file system has also gained rapid development. develop. [0004] In ordinary applications, the proprietary function interface of the upper-level distributed file system cannot be used, especially operations such as mmap, which maps a file or other objects into ...

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
Inventor 朱鹏王瑜严耀华
Owner ZTE CORP
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