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

A method, device and system for writing data

A technology for writing data and data, applied in the field of writing data, can solve the problem of increasing the delay of writing requests, etc., and achieve the effect of reducing the delay

Active Publication Date: 2019-05-28
HUAWEI TECH CO LTD
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The current solution to the flashing conflict is that when there is a flashing conflict, the storage device will not execute the write request until the flashing process is over, that is to say, the write request can only wait during the flashing process, which obviously increases the write request request latency

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 method, device and system for writing data
  • A method, device and system for writing data
  • A method, device and system for writing data

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0026] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments It is a part of embodiments of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the embodiments of the present invention.

[0027] In the following, some terms used in the embodiments of the present invention are explained to facilitate the understanding of those skilled in the art.

[0028] 1) The storage device may include a controller and a non-volatile storage medium, wherein the controller includes a processor and a cache (Cache), and the non-vo...

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 data writing method, device and system, which is used for shortening a time delay of a data writing process. The method comprises the steps of receiving a writing request, wherein the writing request comprises to-be-written data and an address of the to-be-written data; determining a data block, corresponding to the address, in a cache according to the address; and when a state of the determined data block corresponding to the address is a disk writing state, updating the state of the data block to a cancel state, and writing the to-be-written data in the cache, wherein the disk writing state represents that data in the data block is being written in a disk, and the cancel state is used for determining stop of execution of operation of deleting the data in the data block according to the cancel state after the data in the data block is written in the disk.

Description

technical field [0001] The present invention relates to the technical field of storage, in particular to a method, device and system for writing data. Background technique [0002] Generally speaking, writing data to the cache (cache) is faster than writing data directly to the disk. Therefore, many storage systems now use the write back mode to write data. The so-called write back mode is It refers to feeding back a response message to the host after writing the data to the cache, without writing the data to the disk at one time. [0003] However, the storage space of the cache is limited after all, and the security is not as good as that of the hard disk. Therefore, after the data stored in the cache reaches a certain amount, the storage device can be destaged. The so-called flushing operation is to write the data in the cache to the disk. During the flashing process, if the storage device receives a write request, and the address of the data carried in the write request...

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): G06F3/06
CPCG06F3/0611G06F3/064G06F3/0658G06F3/0676
Inventor 谭春华杨俊李海波
Owner HUAWEI TECH CO LTD