A SSD-based metadata recovery method, device, equipment and medium

A recovery method and metadata technology, applied in the storage field, can solve problems such as difficult to ensure SSD startup efficiency, low metadata retrieval efficiency, and large time overhead for metadata recovery

Active Publication Date: 2020-07-07
INSPUR SUZHOU INTELLIGENT TECH CO LTD
View PDF9 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] During the power-on recovery process of the SSD, it is necessary to retrieve the required metadata in the FLASH chip, and when there is a situation that the retrieved metadata is not available, it is also necessary to retrieve the metadata that can replace the metadata in the FLASH chip. Old metadata, but because metadata and user data may be stored in the same block of the current FLASH chip, during the power-on recovery process of the SSD, the retrieval of metadata is often interfered by user data, resulting in The retrieval efficiency of metadata is relatively low, so the time overhead of SSD metadata recovery is often large, and it is difficult to guarantee the startup efficiency of SSD

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 SSD-based metadata recovery method, device, equipment and medium
  • A SSD-based metadata recovery method, device, equipment and medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0038] figure 1 It is a flowchart of an SSD-based metadata recovery method provided by an embodiment of the present invention. Please refer to figure 1 , the specific steps of the SSD-based metadata recovery method include:

[0039] Step S10: When the SSD is powered on and started, the required target metadata is retrieved in the pre-divided PBA address range in the FLASH chip of the SSD.

[0040] Wherein, the storage space corresponding to the PBA address range is continuous and only stores metadata.

[0041] It should be noted that this method is the operation content performed during the power-on and start-up process of the SSD. normal working condition. In this step, when the SSD is powered on and started, the target metadata is retrieved in the FLASH chip of the SSD, including the metadata that needs to be loaded when the SSD retrieves and starts in the FLASH chip, and also includes when some retrieved metadata is unavailable In some cases, the old metadata that can ...

Embodiment 2

[0047] On the basis of the above embodiments, the present invention also provides the following series of preferred implementation manners.

[0048] As a preferred embodiment, before retrieving the required target metadata in the pre-divided PBA address range in the FLASH chip of the SSD, the method further includes:

[0049] Get the metadata type of the target metadata;

[0050] Correspondingly, the target metadata required for retrieval in the pre-divided PBA address range in the FLASH chip of the SSD includes:

[0051] Select the target PBA address range corresponding to the metadata type from among the multiple PBA address ranges pre-divided in the FLASH chip of the SSD;

[0052] Retrieve the required target metadata within the target PBA address range.

[0053] It should be noted that, considering that in actual application scenarios, metadata is also divided into different metadata types in SSD applications according to the type of user data it corresponds to, this emb...

Embodiment 3

[0066] The embodiment of the SSD-based metadata recovery method has been described in detail above, and the present invention also provides a SSD-based metadata recovery device corresponding to the method, because the embodiment of the device part and the implementation of the method part The examples correspond to each other, so for the embodiments of the device part, please refer to the description of the embodiments of the method part, and details will not be repeated here.

[0067] figure 2 A structural diagram of an SSD-based metadata recovery device provided by an embodiment of the present invention. The SSD-based metadata recovery device provided by the embodiment of the present invention includes:

[0068] Retrieval module 10 is used for retrieving required target metadata in the pre-divided PBA address interval in the FLASH chip of SSD when the SSD is powered on and started; wherein, the storage space corresponding to the PBA address interval is continuous and only ...

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 metadata recovery method and device based on an SSD, equipment and a medium. The method comprises the following steps: when the SSD is powered on and started, retrieving required target metadata in a PBA address interval pre-divided in a FLASH chip of the SSD; wherein the storage space corresponding to the PBA address interval is continuous, and only metadata is stored inthe storage space; and reading the target metadata, and loading the target metadata to a memory chip of the SSD. According to the method, the FLASH chip of the SSD is divided in advance; The PBA address interval obtained through division is continuous, only metadata is stored, the situation that the metadata is interfered by user data in the metadata retrieval process can be avoided, and therefore the metadata retrieval efficiency of the SSD in the power-on recovery process is relatively improved, and the power-on starting efficiency of the SSD is guaranteed. In addition, the invention further provides an SSD-based metadata recovery device, SSD-based metadata recovery equipment and an SSD-based metadata recovery medium, and the beneficial effects are the same as described above.

Description

technical field [0001] The present invention relates to the field of storage, in particular to an SSD-based metadata recovery method, device, equipment and medium. Background technique [0002] SSD, or Solid State Disk (Solid State Disk), referred to as solid disk, is a hard disk made of solid state electronic storage chip array, which is composed of a control unit and a storage unit (FLASH chip, DRAM chip), and is currently the mainstream storage device One, especially on servers with high performance requirements, SSD is widely used. Most of the data stored in the SSD is user data, but metadata is required to manage these user data during operation. Therefore, with the continuous increase of SSD capacity, the amount of metadata is also increasing, and the metadata Saving and restoring has become a more important issue in SSD work. [0003] The working principle of the current SSD is generally to save all the latest metadata in the memory in the FLASH chip when the power ...

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 SUZHOU INTELLIGENT TECH CO LTD
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