Method and device both for avoiding IO conflict in cloning system

A technology of IO request and starting position, which is applied in multi-programming devices, redundant operations in data error detection and response error generation, etc., can solve problems such as data inconsistency and IO conflict, and avoid data inconsistency. Effect

Active Publication Date: 2015-04-22
上海浪潮云计算服务有限公司
View PDF7 Cites 9 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Since IO processing is generally multi-threaded and concurrent, and online reading and writi

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 device both for avoiding IO conflict in cloning system
  • Method and device both for avoiding IO conflict in cloning system
  • Method and device both for avoiding IO conflict in cloning system

Examples

Experimental program
Comparison scheme
Effect test

Example Embodiment

[0023] In order to facilitate the understanding of those skilled in the art, the following further description of the present invention with reference to the accompanying drawings cannot be used to limit the protection scope of the present invention.

[0024] The present invention proposes a method for avoiding input and output IO conflicts in a cloning system. The method includes the following steps:

[0025] S101. According to the basic copy unit set by the user, logically divide the two clone volumes into multiple data blocks of the same size.

[0026] Preferably, the two clone volumes include a source volume and a target volume, and the source volume and the target volume have the same size. That is, both the source volume and the target volume are called clone volumes.

[0027] The basic unit of the clone copy is determined by the user. The user defines the size of the basic unit when creating the clone pair. According to the size, the two clone volumes are logically divided into...

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 method and a device both for avoiding IO conflict in a cloning system. The method comprises the following steps: logically dividing two cloning rolls into a plurality of data blocks with the same size according to a copying basic unit set by a user; when any one of the two cloning rolls receives an IO request, aligning content corresponding to the IO request to each data block in a range from the data blocks of starting positions of the cloning rolls to the data blocks of stopping positions of the cloning rolls according to the starting positions and stopping positions read and written by the IO request; and locking each data block corresponding to the IO request and rejecting other operation except the IO request. By the aid of the method and the device, the data consistency in a cloning process can be avoided.

Description

technical field [0001] The invention relates to a cloning system in the field of data disaster recovery, in particular to a method and a device for avoiding IO conflicts in the cloning system. Background technique [0002] In the disaster recovery data backup system, cloning is an important technology, which refers to duplicating all data to obtain an exact copy at a certain moment. In the current disaster recovery data backup products, cloning exists as a basic function, and the cloning is generally performed in units of volumes. Usually, in a cloning system, the volume is divided into data blocks by the basic unit set by the user, which is used as the basic unit of cloning. Cloning in the disaster recovery system generally supports online reading and writing, that is, IO processing during the cloning copy process. Since IO processing is generally multi-threaded and concurrent, and online reading and writing needs to process IO, IO conflicts are prone to occur, resulting ...

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): G06F13/20G06F9/46G06F11/14
CPCG06F3/061G06F9/466G06F11/1461
Inventor 王倩穆裕张在理
Owner 上海浪潮云计算服务有限公司
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