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

A non-write-back mirroring and write-through switching method for cache mirroring system

A technology for cache mirroring and storage system, applied in the field of communication and information, it can solve the problems of write timeout, low efficiency, and disk loss, and achieve the effects of good security, reliability, and practicability.

Active Publication Date: 2017-02-08
LANGCHAO ELECTRONIC INFORMATION IND CO LTD
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] However, in the actual storage system, when the write strategy is switched between each other, when the write mirror and write back are directly switched, due to the low efficiency of direct write, a large amount of data accumulated in the cache cannot be refreshed to the disk, which may cause write timeout, resulting in a crash
[0006] The purpose of the present invention is to provide a non-write-back mirroring and direct-writing switching method, by adding part of the processing in the switching between writing mirroring and direct writing, to solve the problem of disk loss that may be caused, so that the support of the non-writeback mode can be realized Dual-controller storage system with cache mirroring

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 non-write-back mirroring and write-through switching method for cache mirroring system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0032] The following describes in detail a mirroring and write-through switching method without write-back in the cache mirroring system of the present invention with reference to the accompanying drawings.

[0033] The present invention provides a mirroring and write-through switching method without write-back for a cache mirroring system. The mirroring write strategy provided by it is unique to a storage system with dual-controller nodes supporting a cache mirroring mechanism. This method can be used to support cache mirroring. In a dual-controller storage system, the direct switching between write mirroring and direct write is performed without causing disk loss, thereby ensuring the reliability of the storage system. The specific process is:

[0034] 1. Set up a dual-controller storage system. The dual-controller storage system includes at least two controllers. The controller supports cache mirroring, supports write mirroring and write-through mode, does not support write-back ...

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 present invention provides a mirroring and direct-writing switching method without write-back in a cache mirroring system. The specific process is: setting a dual-controller storage system, the dual-controller storage system includes at least two controllers, and the controller supports cache mirroring , support write-mirror and write-through mode, do not support write-back mode, support switching between write-mirror and write-through mode, put dual controllers in write-mirror mode The backup data is obtained from the controller to ensure the reliability of the data; when there is only one controller left, the surviving controller performs the conversion between write-mirror mode and direct-write mode. Compared with the prior art, this non-write-back mirroring and direct-writing switching method of the cache mirroring system can switch the write-mirroring and direct-writing strategy, and abandon the write-back mode without causing disk loss, thereby ensuring storage System reliability and strong practicability.

Description

Technical field [0001] The present invention relates to the technical field of communication and information, in particular to a mirroring and write-through switching method without write-back in a cache mirroring system. Background technique [0002] Cache mirroring technology is a solution for data loss in the cache that may occur when storage processing fails. It saves the cached data on two controllers at the same time, and automatically backs up the end controller when the system is working. It is a commonly used cache protection technology in dual-controller storage systems. The basic principle is to establish cache mirroring on each controller to ensure cache consistency between dual-controllers. [0003] In storage systems that support cache mirroring, in addition to the traditional write-back (WRITE_BACK) and write-through (WRITE_THROUGH), the read-write mode also needs to increase the write mirroring (WRITE_MIRROR) mode to support the establishment of cache mirroring. [0...

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): G06F12/16
Inventor 王倩
Owner LANGCHAO ELECTRONIC INFORMATION IND CO LTD