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

Device and method for protecting metadata by copy-on-write

A technology of copy-on-write and metadata, which is applied in the direction of data error detection and response error generation, which can solve the problems of limited improvement and optimization effects, and achieve the effect of improving the optimization effect.

Active Publication Date: 2014-07-02
INSPUR BEIJING ELECTRONICS INFORMATION IND
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

This method reduces the I / O read and write operations of copy-on-write, but its improvement and optimization effects are very limited, and further optimization is still needed

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
  • Device and method for protecting metadata by copy-on-write
  • Device and method for protecting metadata by copy-on-write
  • Device and method for protecting metadata by copy-on-write

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0038] The technical solutions of the present invention will be described in detail below in conjunction with the accompanying drawings and preferred embodiments. It should be understood that the following examples are only used to illustrate and explain the present invention, but not to limit the technical solution of the present invention.

[0039] The present invention is aimed at the disk structure of a typical copy-on-write storage system, such as figure 1 As shown; where there are multiple root nodes, the number of metadata trees follows the number of root nodes, and the positions are fixed. When committing a transaction, select the next root node position of the current root node for writing. When the system starts, scan the location of each root node in turn, trying to find the latest root node. The metadata tree stores metadata in a tree structure or a tree-like structure.

[0040] When the present invention needs to change a metadata block, it only performs copy-o...

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 device and a method for protecting metadata by copy-on-write. The technical scheme of the device for protecting metadata by copy-on-write includes that when receiving data reading and writing requests, a data reading and writing module submits the request for the metadata to be processed by a remapping module and submits the request for user data to be processed by a service refreshing module; the remapping module aiming to the data reading and writing requests searches a corresponding block in remapping records according a block to be read and written and records mapping relation of the new block and the original block, and meanwhile the new block is submitted to the service refreshing module. The service refreshing module caches metadata blocks required to be read and written frequently into an internal memory and refreshes data in the services of a disk at regular time according to the respective submission of the data reading and writing module or the remapping module. By combining the remapping manner with the original cache mechanism, optimizing effect of copy-on-write is improved greatly.

Description

technical field [0001] The invention relates to data protection technology in computer applications, in particular to a device and method for protecting metadata by means of copy-on-write. Background technique [0002] A computer system can be roughly divided into a CPU, a storage subsystem, and an I / O subsystem in structure. Among them, the storage subsystem and the I / O subsystem can all be attributed to the data subsystem. From a more abstract level, computer systems can be divided into two parts: computing and data. Among them, the data part can be divided into user data and metadata; user data is the user's own data, and metadata is "data of data", that is, the part of data used to manage user data. Metadata is used to describe user data. If metadata is damaged in a storage system, the impact is far greater than the damage or loss of user data. It can be seen that the disaster recovery and protection of metadata in computer systems is of great significance. [0003] ...

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): G06F11/14
Inventor 王旭刘正伟
Owner INSPUR BEIJING ELECTRONICS INFORMATION IND