US 12,346,583 B2
Tracking data usage in storage devices
Anamika Choudhary, Bangalore (IN); and Lovish Singla, Bangalore (IN)
Assigned to Sandisk Technologies, Inc., Milpitas, CA (US)
Filed by Western Digital Technologies, Inc., San Jose, CA (US)
Filed on Apr. 14, 2022, as Appl. No. 17/721,117.
Prior Publication US 2023/0333761 A1, Oct. 19, 2023
Int. Cl. G06F 3/06 (2006.01)
CPC G06F 3/064 (2013.01) [G06F 3/0607 (2013.01); G06F 3/065 (2013.01); G06F 3/0653 (2013.01); G06F 3/0679 (2013.01)] 12 Claims
OG exemplary drawing
 
1. A device comprising:
a processor;
a memory array comprising:
a plurality of memory devices wherein the memory devices are configured into a plurality of memory blocks; and
a usage tracking logic configured to:
receive a host command from a host associated with one or more memory devices;
determine a plurality of memory devices required to process the received host command;
process the received host command;
generate a timestamp, wherein the timestamp corresponds to the time of completion of processing the received host command;
associate the timestamp with the determined plurality of memory devices;
store the timestamp as metadata; and
execute a compaction process on the plurality of memory devices, wherein the compaction process is configured to:
move data associated with the determined plurality of memory devices to a second plurality of memory devices;
determine the generated timestamps associated with each of the determined plurality of memory devices; and
associate the determined timestamps with the moved data within the second plurality of memory devices.