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

Atomic writing method and device applied to solid state disk

A solid-state hard drive and atomic write technology, applied in the storage field, can solve problems such as incomplete data and inconsistent data, and achieve the effects of prolonging service life, ensuring integrity, and ensuring consistency

Active Publication Date: 2019-10-25
SUZHOU LANGCHAO INTELLIGENT TECH CO LTD
View PDF3 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The present invention aims at the above-mentioned problems, and in order to overcome the defects of data inconsistency or incomplete data in storage applications, the present invention provides an atomic writing method and device applied to solid-state hard disks

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
  • Atomic writing method and device applied to solid state disk

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0017] In order to clearly illustrate the technical features of the solution, the solution will be described below through specific implementation modes.

[0018] See attached figure 1 , the SSD front end of the present invention receives the IO request data from the block device layer of the host, and obtains the logical address of the IO. The terminal FTL layer performs corresponding read / write operations on this IO, and returns to the balanced binary tree for unlocking operations after completion, and returns the corresponding completion message to the host. When there is an error in data reading and writing or abnormal power failure, the back-end will perform the rollback operation of the IO data at the same time, and will not perform the data transfer operation.

[0019] A method for realizing atomic writing applied to a solid-state hard disk, comprising the following steps:

[0020] Step 1: The SSD front end receives an atomic write command from the block device layer ...

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 provides an atomic writing method and device applied to a solid state disk, and belongs to the technical field of storage. According to the technical scheme, the method comprises the following steps that 1, enabling an SSD front end to receive an atomic writing command from a block device layer of a host; 2, acquiring a logic address to be accessed by the atomic writing command; 3, locking the front-end table item corresponding to the logic address; 4, notifying a back-end FTL table entry corresponding to the logic address to carry out an atomic writing request; and 5, carrying out atomic writing judgment on the back-end FTL table entry. The beneficial effects of the invention are as follows:the invention provides an atomic writing implementation method applied to a solid state disk. Therefore, the consistency of the data in a storage application occasion is ensured, and the integrity of the data can be effectively ensured under abnormal power failure, so that the delay from the host to the SSD is reduced on the premise of not compromising the integrity and reliability of the data, and the service life of the SSD is prolonged.

Description

technical field [0001] The invention relates to the field of storage technology, in particular to an atomic writing method and device applied to a solid-state hard disk. Background technique [0002] With the continuous development of storage systems, SSDs (Solid State Drives) have been widely used in various occasions. SSDs need to use a series of firmware technologies to ensure the atomicity of data when writing data. However, when splitting a large IO data into several small data, data read and write errors may occur, resulting in inconsistency of stored data; there may also be abnormal power failures resulting in data damage. Some applications, such as file systems or databases, have relatively high requirements for data integrity. If the order in which data takes effect is not guaranteed, it will cause problems with data consistency and reliability. Contents of the invention [0003] The present invention aims at the above-mentioned existing problems, and in order t...

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 Applications(China)
IPC IPC(8): G06F3/06
CPCG06F3/0614G06F3/061G06F3/0638G06F3/0674
Inventor 尹作刚
Owner SUZHOU LANGCHAO INTELLIGENT TECH CO LTD