Process and apparatus to reduce declared capacity of a storage device by trimming
First Claim
1. A method of managing a storage system, the method comprising:
- at a storage device of the storage system;
detecting an amelioration trigger for reducing declared capacity of non-volatile memory of the storage device of the storage system, wherein declared capacity is storage capacity available to a host;
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;
trimming, in accordance with a trim command received from the host, at least a portion of a set of logical addresses in a logical address space; and
reducing declared capacity of the non-volatile memory of the storage device;
prior to detecting the amelioration trigger, detecting a first wear condition of the non-volatile memory of the storage device, wherein a total storage capacity of the non-volatile memory of the storage device includes declared capacity and over-provisioning; and
in response to detecting the first wear condition, performing a remedial action that reduces over-provisioning of the non-volatile memory of the storage device without reducing declared capacity of the non-volatile memory of the storage device.
2 Assignments
0 Petitions
Accused Products
Abstract
Systems, methods, and/or devices are used to reduce declared capacity of non-volatile memory of a storage device in a storage system. In one aspect, the method includes, detecting an amelioration trigger for reducing declared capacity of non-volatile memory of the 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: trimming, in accordance with a trim command received from a host, at least a portion of a set of logical addresses in a logical address space; and reducing declared capacity of the non-volatile memory of the storage device. In some embodiments, the storage device includes one or more flash memory devices. In some embodiments, the method is performed by the storage device.
-
Citations
36 Claims
-
1. A method of managing a storage system, the method comprising:
at a storage device of the storage system; detecting an amelioration trigger for reducing declared capacity of non-volatile memory of the storage device of the storage system, wherein declared capacity is storage capacity available to a host; 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; trimming, in accordance with a trim command received from the host, at least a portion of a set of logical addresses in a logical address space; and reducing declared capacity of the non-volatile memory of the storage device; prior to detecting the amelioration trigger, detecting a first wear condition of the non-volatile memory of the storage device, wherein a total storage capacity of the non-volatile memory of the storage device includes declared capacity and over-provisioning; and in response to detecting the first wear condition, performing a remedial action that reduces over-provisioning of the non-volatile memory of the storage device without reducing declared capacity of the non-volatile memory of the storage device. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12)
-
13. A storage device, comprising:
-
non-volatile memory; one or more processors; and controller memory storing one or more programs, which when executed by the one or more processors cause the storage device to perform operations comprising; detecting an amelioration trigger for reducing declared capacity of non-volatile memory of the storage device, wherein declared capacity is storage capacity available to a host; 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; trimming, in accordance with a trim command received from the host, at least a portion of a set of logical addresses in a logical address space; and reducing declared capacity of the non-volatile memory of the storage device; prior to detecting the amelioration trigger, detecting a first wear condition of the non-volatile memory of the storage device, wherein a total storage capacity of the non-volatile memory of the storage device includes declared capacity and over-provisioning; and in response to detecting the first wear condition, performing a remedial action that reduces over-provisioning of the non-volatile memory of the storage device without reducing declared capacity of the non-volatile memory of the storage device. - View Dependent Claims (14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24)
-
-
25. A non-transitory computer readable storage medium, storing one or more programs configured for execution by one or more processors of a storage device, the one or more programs including instructions for:
-
detecting an amelioration trigger for reducing declared capacity of non-volatile memory of the storage device, wherein declared capacity is storage capacity available to a host; 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; trimming, in accordance with a trim command received from the host, at least a portion of a set of logical addresses in a logical address space; and reducing declared capacity of the non-volatile memory of the storage device; prior to detecting the amelioration trigger, detecting a first wear condition of the non-volatile memory of the storage device, wherein a total storage capacity of the non-volatile memory of the storage device includes declared capacity and over-provisioning; and in response to detecting the first wear condition, performing a remedial action that reduces over-provisioning of the non-volatile memory of the storage device without reducing declared capacity of the non-volatile memory of the storage device. - View Dependent Claims (26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36)
-
Specification