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.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 