Patent ID: 11972149
Assignee: WESTERN DIGITAL TECHNOLOGIES, INC.
Field: Computer technology (Electrical engineering)
Classification: CPC G | IPC G

Claim 18:
19. A storage system comprising:
a memory;
means for receiving, from a host, a command to perform host-activated defragmentation on the memory, wherein the command specifies a selection of one of a predefined number of maximum block valid count threshold options that is selected by the host after assessing a tradeoff between increased performance and reduction of memory lifetime associated with each of the predefined number of maximum block valid count threshold options;
means for performing defragmentation only to those blocks in the memory whose amount of valid data is not greater than the selected one of the predefined number of maximum block valid count threshold options; and
means for receiving, from the host, at least one subsequent command to perform host-activated defragmentation on the memory, wherein each subsequent command specifies a different one of the predefined number of maximum block valid count threshold options, wherein the host dynamically selects a decreasing maximum block valid count threshold option in each subsequent command as the host progressively prioritizes memory lifetime over performance.