Array control unit, array and data processing method

An array controller and data technology, which is applied in the field of data processing, can solve the problems of IO writing and time overhead, and achieve the effect of saving time and avoiding IO writing

Active Publication Date: 2014-12-03
HUAWEI TECH CO LTD
View PDF4 Cites 16 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0008] Embodiments of the present invention provide an array controller, an array, and a data processing method to solve the problem of using DIF for data integrity protection in existing arrays using thick LUN technology,

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
  • Array control unit, array and data processing method
  • Array control unit, array and data processing method
  • Array control unit, array and data processing method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0060] Embodiment 1 introduces the data system provided by the embodiment of the present invention. Such as figure 2 As shown, the data system includes:

[0061] One or more user hosts 201, and an array 202 connected to one or more user hosts 201; wherein, the array 202 further includes an array controller 2021 connected to each user host 201 and one or more array controllers connected to the array controller 2021 2022 hard drives. Among them, the array controller 2021 can be used as an array controller to execute figure 2 treatment shown. In the embodiment of the present invention, the thick LUN is on the hard disk 2022 .

[0062] For the sake of simplicity, figure 2 Only one user host 201 is shown in the figure, but in actual application, there may be multiple user hosts 201, which are respectively connected to the array 202.

[0063] figure 2 Among them, the user host 201 is the business initiator, and its executable operations include but not limited to:

[006...

Embodiment 2

[0082] Embodiment 2. Judgment of residual data

[0083] The method in Embodiment 2 can be applied to the array controller 2021 . Figure 4It is a flow chart of the method in Embodiment 2 of the present invention. Such as Figure 4 As shown, the method includes:

[0084] S401: The array controller receives the first command for reading data sent by the user host. The first command carries the first identifier and first offset address information of the thick LUN. According to the first identifier, the array controller determines the user host thick LUN to be accessed;

[0085] S402: The array controller reads the data to be read by the first command from the determined thick LUN;

[0086] S403: The array controller compares the second offset address information recorded in the first information field corresponding to the data to be read with the first offset address information in the first command, for example: LBA check;

[0087] S404: The array controller judges the co...

Embodiment 3

[0101] Embodiment 3: Creating a thick LUN and writing data to the thick LUN

[0102] On the basis of the second embodiment, further, before step S401, optionally, as Figure 5 As shown, the following steps are also included:

[0103] S501: The array controller receives a second command for creating the thick LUN, where the second command carries the above-mentioned first identifier and capacity information of the thick LUN to be created;

[0104] S502: The array controller creates the thick LUN, the capacity of the thick LUN is the capacity indicated by the capacity information, saves the first identifier of the thick LUN, generates and saves the second identifier of the thick LUN.

[0105] Optionally, Embodiment 3 can also be applied to figure 2 Shown data system, at this moment, each step in embodiment three can be by figure 2 The array controller 2021 in executes.

[0106] Optionally, the user host initiates a command to create the thick LUN, and the array controller ...

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

An embodiment of the invention relates to the technical field of data processing, in particular to an array control unit, an array and a data processing method with an aim to solve the problems about additional write-in of IO and large expenditure of time due to the fact that for an existing array adopting a thick LUN (logical unit number) technology, residual data are removed through additional data writing in order to avoid occurrence of errors when a subscriber's host computer accesses to an unwritten data area if a data integrity field (DIF) technology is adopted. The array control unit comprises interfaces and a processor, the interfaces are used for receiving data reading demands sent by the subscriber's host computer, and the processing is used for reading data from the thick LUN. If validation errors of logical block addressing (LBA) occur, and second identification of the thick LUN stored in the array control unit is not recorded in the thick LUN, information fields corresponding data are read, read data are determined to be the residual data, and additional write-in of the data is accordingly avoided.

Description

technical field [0001] The invention relates to the technical field of data processing, in particular to an array controller, an array and a data processing method. Background technique [0002] A data integrity assurance area (Data Integrity Field, DIF) is a commonly used data integrity protection method at present. It verifies that the data itself is correct and that the data is properly referenced. [0003] As to whether the data itself is correct, usually after the data is verified and calculated, it is compared with the previously stored verification value. When the two are consistent, it indicates that the data has not been damaged; otherwise, it indicates that the data has been damaged. [0004] For whether the data is correctly referenced, the offset of the data is usually recorded. When reading data again, pass in the read data offset. If the offset is consistent with the record offset, it indicates that the data is read normally; otherwise, it indicates that the ...

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
IPC IPC(8): G06F21/64G06F12/06
CPCG06F12/06G06F21/64
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