A strip locking method, apparatus, storage medium and device

By hardware locking of RAID stripes, the read-write mutual exclusion problem in RAID group I/O processing is solved, improving system efficiency and data reliability and preventing data corruption.

CN115993936BActive Publication Date: 2026-06-26SHANDONG YUNHAI GUOCHUANG CLOUD COMPUTING EQUIP IND INNOVATION CENT CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
SHANDONG YUNHAI GUOCHUANG CLOUD COMPUTING EQUIP IND INNOVATION CENT CO LTD
Filing Date
2023-02-17
Publication Date
2026-06-26

AI Technical Summary

Technical Problem

In RAID group I/O processing, read and write mutual exclusion may occur, leading to data corruption.

Method used

By locking the RAID stripes and utilizing hardware-based locking channels and lock resource allocation modules, we ensure that data is not written or read simultaneously by multiple I/O operations, and use exclusive or non-exclusive locking modes for locking or temporary caching.

Benefits of technology

It effectively reduces system CPU load, improves IO data throughput and operational efficiency, reduces read and write data operation latency, and prevents data corruption.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115993936B_ABST
    Figure CN115993936B_ABST
Patent Text Reader

Abstract

The application provides a strip locking method, device, storage medium and equipment, the method comprises the following steps: obtaining a task instruction, and transmitting the task instruction to an instruction decoding module for analysis to determine whether the task instruction is a locking task instruction; in response to the task instruction being a locking task instruction, obtaining a lock resource from a lock resource allocation module by the instruction decoding module; obtaining a lock address based on the information of the to-be-locked strip in the locking task instruction, and allocating a corresponding locking channel for the locking task instruction based on the lock resource and the lock address; querying the locking mode and the locking strip in the locking channel, and locking or temporarily caching the to-be-locked strip based on the locking mode and the locking strip. The application realizes the locking and unlocking functions of one or more strip states in a Raid group, prevents the single operation object from being simultaneously written or read by multiple IOs, ensures the read and write mutual exclusion during the Raid group IO processing, and avoids data disorder.
Need to check novelty before this filing date? Find Prior Art