Method for calculating index of stripe where strip is located for disk, terminal and storage medium
AssigneeInspur Suzhou Intelligent Technology Co., Ltd.
InventorXinling Liang
Life of this patent
Estimating the term…
Loading patent…
AssigneeInspur Suzhou Intelligent Technology Co., Ltd.
InventorXinling Liang
Estimating the term…
The present application provides a method and a system for calculating a stripe of a strip for a disk, a terminal and a storage medium. The method includes: calculating a pack offset of a parity block according to a given disk index; calculating an address of a strip where the parity block is located in the disk according to the pack offset; comparing an address of a to-be-checked strip with the address of the strip where the parity block is located in the disk to determine whether the parity block is on the to-be-checked strip; and calculating a stripe index of the to-be-checked strip by considering redundant elements caused by the parity block in response to determining that the parity block is on the to-be-checked strip; or calculating the stripe index of the to-be-checked strip directly in response to determining that the parity block is not on the to-be-checked strip.
A method for calculating an index of a stripe where a strip is located for a disk, applied to RAID6 for obtaining strip head address in a pack to speed up reading and writing in the RAID6, the method comprising:
Dependencies are inferred from the claim text.