CPC G06F 11/1088 (2013.01) [G06F 3/0619 (2013.01); G06F 3/0659 (2013.01); G06F 3/0689 (2013.01); G06F 11/076 (2013.01)] | 17 Claims |
1. A method for storage management, comprising:
determining a plurality of storage units to be reconstructed on a group of disks, the plurality of storage units being distributed on different disks in the group of disks;
selecting, based on the distribution of the plurality of storage units on the group of disks, a group of storage units from the plurality of storage units so that different storage units in the group of storage units are distributed on different disks; and
performing concurrent reconstruction on the group of storage units;
wherein storage units in the plurality of storage units have respective priorities, and selecting the group of storage units comprises:
selecting one or more storage units from storage units with a same priority as storage units in the group of storage units, so that different storage units in the group of storage units are distributed on different disks;
wherein selecting the one or more storage units from storage units with the same priority comprises:
determining candidate disks based on disks on which the storage units with a same priority are distributed and disks on which the storage units that have been selected as the group of storage units are distributed; and
performing operations as follows on the candidate disks:
determining a pair of disks from the candidate disks, wherein at least one common storage unit as follows is distributed on the pair of disks, and in one or more pairs of disks on which the at least one common storage unit is distributed among the candidate disks:
the at least one common storage unit being to be reconstructed and having the same priority; and
selecting a storage unit with the same priority from the common storage units to be reconstructed of the pair of disks as the storage unit in the group of storage units.
|