CPC G06F 3/0608 (2013.01) [G06F 3/064 (2013.01); G06F 3/0652 (2013.01); G06F 3/0673 (2013.01)] | 20 Claims |
1. A system comprising:
a memory device; and
a processing device, operatively coupled to the memory device, to perform operations comprising:
identifying one or more candidate memory blocks that are available for garbage collection;
determining a respective erase depth level for each candidate memory block based on one or more block characteristics of the candidate memory block;
erasing the candidate memory blocks, wherein each of the candidate memory blocks is erased in accordance with the respective erase depth level determined for the candidate memory block;
receiving a request to write data subsequent to erasing the candidate memory blocks; and
responsive to receiving the request to write data, selecting a first memory block from the erased candidate memory blocks in accordance with the respective erase depth level of each of the erased candidate memory blocks.
|