CPC G06F 3/0616 (2013.01) [G06F 3/064 (2013.01); G06F 3/0679 (2013.01)] | 20 Claims |
1. A memory system, comprising:
one or more non-volatile storage devices, wherein each of the one or more non-volatile storage devices comprises a plurality of blocks, and at least one block in at least one of the one or more non-volatile storage devices constitutes a super block; and
a controller coupled to the non-volatile storage device and configured to:
determine sorting of a plurality of super blocks based on an erase count of each super block and a number of bad blocks in each super block, wherein erase counts of any two adjacent super blocks in the sorting meet a preset requirement, the plurality of super blocks comprises first super blocks, second super blocks, and third super blocks, the first super blocks in the sorting are arranged at intervals, a number of bad blocks in a first super block is greater than a preset value, a number of bad blocks in a second super block is greater than zero and less than or equal to the preset value, and a number of bad blocks in a third super block is equal to zero; and
determine a priority of write operations on the plurality of super blocks based on the sorting of the plurality of super blocks.
|