Method and system for writing data

A technology for writing data and data, applied in the input/output process of data processing, electrical digital data processing, input/output to record carriers, etc. Memory resources, achieve the effect of effective utilization

Active Publication Date: 2012-08-29
HUAWEI TECH CO LTD
View PDF1 Cites 28 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] In view of this, the embodiments of the present invention provide a method and system for writing data to solve the waste of system resources and the utilization rate of system resources caused by the existing thin provisioning system because the thin pool allocates storage space with its own fixed allocation granularity. low problem

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
  • Method and system for writing data
  • Method and system for writing data
  • Method and system for writing data

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0031] The embodiment of the present invention provides a method and system for writing data based on a thin provisioning system, removes the fixed allocation granularity set in the thin pool, and writes the logical address of the unallocated storage space in the data command according to the request issued by the host The length of continuous data is an integer multiple of the smallest storage unit that the memory can provide, and the storage space is applied to the thin pool, so that the resources of the thin provisioning system can be effectively used.

[0032] The technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some of the embodiments of the present invention, not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordina...

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 embodiment of the invention provides a method and system for writing data. The method comprises the following steps of: receiving a command for requesting to write data; judging whether a compacted cell storage space is completely allocated for a logic address to be written in a compacted LUN (Logic Unit Number) or not, if so, writing the data to be written into a storage space allocated by the compacted cell and otherwise, determining the length of the data which can be written by a continuous logic address for which the compacted cell storage space is not allocated in the logic address and applying the storage space which is greater than or equal to the length of the data which can be written into the continuous logic address for the compacted cell according to the magnitude of integral multiple of a minimum storage unit provided by a memory; and receiving information responding to the storage space allocated by the application by the compacted cell and writing the data to be written into the corresponding storage space. According to the method and system disclosed by the invention, effective utilization of system resources is realized.

Description

technical field [0001] The present invention relates to the technical field of data storage, and more specifically, to a method and system for writing data. Background technique [0002] With the development of science and technology and the wide application of the Internet, the amount of data generated by enterprises, governments and other agencies is increasing. Reasonable planning of storage space for these data has become a top priority for current storage solutions. Among many storage solutions at present, thin provisioning (thin provisioning) has been widely used due to its on-demand allocation of storage space management. [0003] The thin provisioning system provided by the prior art includes: a thin pool, a thin LUN (Logical Unit Number, Logical Unit Number) and a mapping table; wherein, the thin pool is the physical storage space at the bottom of the thin provisioning system, and its distribution granularity is fixed; The LUN is a logical hard disk built on the th...

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/0608G06F3/0644G06F3/0665G06F3/067G06F3/0689
Inventor 冯欢
Owner HUAWEI 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