Patent ID: 11907123
Assignee: INTERNATIONAL BUSINESS MACHINES CORPORATION
Field: Computer technology (Electrical engineering)
Classification: CPC G | IPC G

Claim 12:
13. A data storage system, comprising:
a controller configured to be coupled to a non-volatile memory array, wherein the controller is configured to:
monitor a percentage of memory of the flash memory device that is in a ready to use state, wherein the flash memory device includes a plurality of dies each comprising a plurality of memory block stripes;
based on a determination that the percentage is greater than a first threshold value, operate the flash memory device in a first operating mode;
based on a determination that the percentage has fallen below the first threshold value; operate the flash memory device in a second operating mode; and
based on a determination that the percentage has fallen below a second threshold value, which is lower than the first threshold value, operate the flash memory device in a third operating mode until the percentage exceeds the first threshold value,
maintain a heat level for each of the plurality of memory block stripes on each of the plurality of dies;
maintain an operational state of each of the plurality of dies, and
identify one of the plurality of memory block stripes for filling with an data set based on a heat level of the data set, the operational state of plurality of dies and the heat level for each of the plurality of memory block stripes, wherein the one of the plurality of memory block stripes for filling is selected to have a heat level that is equal to the heat level of the data set,
wherein erasing of ready to erase memory block stripes is only performed during the third operating mode, and
wherein the third operating mode includes:
selecting a ready to erase memory block for erasure, wherein the selecting of the ready to erase memory block for erasure includes prioritizing erasure of block stripes located on dies that are not currently being used for a fill operation and selecting a block stripe in a round-robin fashion based on a determination that all dies are currently being used for fill operation;
erasing the selected ready to erase memory block; and
marking the erased memory block as ready to use.