US 12,248,706 B2
Data storage device and method for reducing flush latency
Rotem Sela, Haifa (IL); Meytal Soffer, Maale' Hagalil (IL); and Asher Druck, Balfor (IL)
Assigned to Sandisk Technologies, Inc., Milpitas, CA (US)
Filed by Western Digital Technologies, Inc., San Jose, CA (US)
Filed on Jul. 12, 2023, as Appl. No. 18/220,933.
Claims priority of provisional application 63/419,418, filed on Oct. 26, 2022.
Prior Publication US 2024/0143227 A1, May 2, 2024
Int. Cl. G06F 12/00 (2006.01); G06F 3/06 (2006.01)
CPC G06F 3/0659 (2013.01) [G06F 3/0604 (2013.01); G06F 3/0673 (2013.01)] 20 Claims
OG exemplary drawing
 
1. A data storage device comprising:
a non-volatile memory; and
a processor coupled with the non-volatile memory and configured to:
store, in a cache, data from a plurality of applications in a host to be written in the non-volatile memory, wherein each data is associated with a respective identifier;
receive, from the host, a flush command comprising a first identifier; and
in response to receiving the flush command comprising the first identifier:
select, from a command queue, only write command(s) that are associated with the first identifier;
store data associated with the selected write command(s) in the cache; and
flush, from the cache to the non-volatile memory, only data that is associated with the first identifier, wherein the data that is flushed to the non-volatile memory comprises data stored in the cache both before and after the flush command was received.