US 12,271,610 B2
Method, electronic device, and computer program product for data storage
Sheng Wang, Beijing (CN); Dapeng Chi, Beijing (CN); Huan Chen, Beijing (CN); and Chen Gong, Beijing (CN)
Assigned to Dell Products L.P., Round Rock, TX (US)
Filed by Dell Products L.P., Round Rock, TX (US)
Filed on Jul. 27, 2023, as Appl. No. 18/227,037.
Claims priority of application No. 202310075351.8 (CN), filed on Jan. 18, 2023.
Prior Publication US 2024/0241654 A1, Jul. 18, 2024
Int. Cl. G06F 3/06 (2006.01)
CPC G06F 3/0631 (2013.01) [G06F 3/0604 (2013.01); G06F 3/0689 (2013.01)] 20 Claims
OG exemplary drawing
 
1. A method for data storage, comprising:
selecting a target Redundant Array of Independent Disks (RAID) from a plurality of RAIDs in a storage resource pool;
determining a local neighbor matrix of the target RAID based on the target RAID, wherein the local neighbor matrix indicates distribution of a plurality of storage extents of a plurality of RAID extents of the target RAID on the storage resource pool; and
performing a resource reallocating operation on the storage resource pool based on the local neighbor matrix;
wherein determining a local neighbor matrix of the target RAID based on the target RAID comprises:
determining an iteration step size based on a width of the storage resource pool and a width of the RAID extent;
determining, for the target RAID, a set comprising a plurality of RAID extent groups, wherein the number of RAID extents in each RAID extent group of the plurality of RAID extent groups is equal to the iteration step size; and
traversing the set to determine the local neighbor matrix.