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

Method, system and related components for managing inode cache space

A technology of cache space and management method, applied in the field of data storage management, can solve the problems of high hardware cost, excessive metadata service cache, large cache, etc., and achieve the effect of saving inode cache space

Active Publication Date: 2022-02-18
ZHENGZHOU YUNHAI INFORMATION TECH CO LTD
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

But this causes the inode to always be held in the metadata cache of the server
When the metadata service of a server is connected to multiple clients, each client's own cache may not exceed the limit, but the cache inodes of the metadata service are more and more, which cannot be pruned at all, and there are metadata The service cache is too full
In the long run, the cache will become larger and larger, and the hardware cost will be high

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
  • Method, system and related components for managing inode cache space
  • Method, system and related components for managing inode cache space
  • Method, system and related components for managing inode cache space

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0031] In order to make the purposes, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments It is a part of the embodiments of this application, not all of them. Based on the embodiments in this application, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the scope of protection of this application.

[0032] see below figure 1 , figure 1 It is a flow chart of a method for managing inode cache space provided by the embodiment of the present application.

[0033] Specific steps can include:

[0034] S101: When detecting that the target file is closed, the client sets the state of the inode cache corresponding to the target file in the cache to an ...

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 present application discloses a method for managing an inode cache space. The management method includes: when detecting that the target file is closed, the client sets the state of the inode cache corresponding to the target file in the cache to an aging state, and records the The duration that the inode cache is in the aging state; determine whether the duration is greater than a preset value; if so, release the inode cache in the client, so that the server releases the cache space corresponding to the inode cache . This method can reasonably reclaim the inode cache space and save hardware cost. The application also discloses a management system of inode cache space, a computer-readable storage medium and an electronic device, which have the above beneficial effects.

Description

technical field [0001] The invention relates to the field of data storage management, in particular to a method and system for managing an inode cache space, a computer-readable storage medium and an electronic device. Background technique [0002] When the client interacts with the metadata service of the server, the client loads the inode (index node) that needs to be operated into its own cache. After the metadata service obtains the inode data, it also loads the related inode into the metadata cache. But now after the client finishes operating the inode (such as opening a file, closing it after modifying and saving), it will still hold the inode, and only modify the permission to operate the inode, but the inode will not be cleaned up on the client side cache. The advantage of this is that the inode can be directly stored in the cache during the next access, and the access speed will be faster. But this causes the inode to always be held in the metadata cache of the se...

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): G06F12/0877
CPCG06F12/0877
Inventor 程瑶
Owner ZHENGZHOU YUNHAI INFORMATION TECH CO LTD