×

Process and apparatus to reduce declared capacity of a storage device by conditionally trimming

  • US 9,158,681 B1
  • Filed: 02/12/2015
  • Issued: 10/13/2015
  • Est. Priority Date: 09/02/2014
  • Status: Active Grant
First Claim
Patent Images

1. A method of managing a storage system, the method comprising:

  • detecting an amelioration trigger for reducing declared capacity of non-volatile memory of a storage device of the storage system; and

    in accordance with the detected amelioration trigger, performing an amelioration process to reduce declared capacity of the non-volatile memory of the storage device, the performing including;

    obtaining a target capacity of the non-volatile memory of the storage device and a current utilization of the non-volatile memory of the storage device, wherein the target capacity is lower than a current capacity of the non-volatile memory of the storage device and the current utilization corresponds to allocated logical addresses in a logical address space;

    determining whether the target capacity of the non-volatile memory of the storage device is greater than the current utilization of the non-volatile memory of the storage device;

    in accordance with a determination that the target capacity is greater than the current utilization, forgoing trimming of the allocated logical addresses;

    in accordance with a determination that the target capacity is not greater than the current utilization, trimming at least a portion of the allocated logical addresses; and

    reducing declared capacity of the non-volatile memory of the storage device.

View all claims
  • 2 Assignments
Timeline View
Assignment View
    ×
    ×