| CPC G06F 11/1068 (2013.01) [G06F 11/1016 (2013.01); G06F 11/2056 (2013.01)] | 16 Claims |

|
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.
|