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

Claim 9:
10. In a storage system comprising a memory, a method comprising:
receiving, from a host, a command to perform host-activated defragmentation on the memory, wherein the command specifies a valid count criteria that is determined by host application usage after the host assesses a tradeoff between increased performance and reduction of memory lifetime associated with the valid count criteria;
performing defragmentation only on those blocks in the memory that satisfy the valid count criteria; and
receiving, from the host, at least one subsequent command to perform host-activated defragmentation on the memory, wherein each subsequent command specifies a different valid count criteria, and wherein the host dynamically decreases the valid count criteria in each subsequent command as the host progressively prioritizes memory lifetime over performance.