×

Processing of Un-Map Commands to Enhance Performance and Endurance of a Storage Device

  • US 20160117252A1
  • Filed: 03/25/2015
  • Published: 04/28/2016
  • Est. Priority Date: 10/27/2014
  • Status: Active Grant
First Claim
Patent Images

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

  • maintaining a write cache, in volatile memory of the storage device, for storing data corresponding to write commands from a host, wherein the host is operatively coupled to the storage device, the storage device including non-volatile memory;

    maintaining a mapping table in volatile memory, the mapping table used to translate logical addresses in a logical address space available to the host to physical addresses in a physical address space of the storage device;

    receiving, at the storage device, an un-map command from the host;

    determining whether a size of the un-map command satisfies a size threshold, wherein the size of the un-map command corresponds to a number of logical addresses to be un-mapped by the un-map command;

    in accordance with a determination that the size of the un-map command satisfies the size threshold, performing one or more operations of a first un-map process, wherein the first un-map process does not include saving the mapping table to the non-volatile memory of the storage device; and

    in accordance with a determination that the size of the un-map command does not satisfy the size threshold, performing one or more operations of a second un-map process, wherein the second un-map process does not include saving the mapping table to the non-volatile memory of the storage device and does not include flushing the write cache to the non-volatile memory of the storage device.

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