US 12,468,599 B1
Data storage device and method for efficient data-storage-device-to-data-storage-device copying
Amit Sharma, Bangalore (IN); and Dinesh Kumar Agarwal, Bangalore (IN)
Assigned to Sandisk Technologies, Inc., Milpitas, CA (US)
Filed by Sandisk Technologies, Inc., Milpitas, CA (US)
Filed on May 8, 2024, as Appl. No. 18/658,142.
Int. Cl. G06F 11/10 (2006.01); G06F 11/20 (2006.01)
CPC G06F 11/1068 (2013.01) [G06F 11/1016 (2013.01); G06F 11/2056 (2013.01)] 16 Claims
OG exemplary drawing
 
1. A data storage device comprising:
a memory; and
one or more processors, individually or in combination, configured to:
operate in a data-storage-device-to-data-storage-device copy mode, wherein in the data-storage-device-to-data-storage-device copy mode, the data storage device is configured to:
receive, from a source data storage device via the host, a plurality of blocks of data, parity information for the plurality of blocks of data, and logical-to-physical address translation information for the plurality of blocks of data;
write, in the memory, the plurality of blocks of data, the parity information for the plurality of blocks of data, and the logical-to-physical address translation information for the plurality of blocks of data;
instead of generating additional parity information for the plurality of blocks of data:
determine whether each block of the plurality of blocks of data was written in the memory without error; and
in response to determining that an error occurred in writing one of the plurality of blocks of data, re-write that block of data in a different location in the memory; and
instead of generating new logical-to-physical address translation information for the plurality of blocks of data, use the logical-to-physical address translation information received from the host.