US 12,366,986 B2
On-SSD-copy techniques using copy-on-write
Peng Li, Beaverton, OR (US); Sanjeev N. Trika, Portland, OR (US); and David C. Estrada, Portland, OR (US)
Assigned to SK hynix NAND Product Solutions Corp., Rancho Cordova, CA (US)
Filed by SK hynix NAND Product Solutions Corp., San Jose, CA (US)
Filed on Mar. 16, 2021, as Appl. No. 17/203,174.
Prior Publication US 2021/0223979 A1, Jul. 22, 2021
Int. Cl. G06F 3/06 (2006.01)
CPC G06F 3/0647 (2013.01) [G06F 3/0604 (2013.01); G06F 3/0679 (2013.01)] 20 Claims
OG exemplary drawing
 
1. An article of manufacture comprising a non-transitory computer readable storage medium having content stored thereon which when accessed causes the performance of operations to execute a method comprising:
receiving, at a non-volatile storage device, a copy command from a host to copy data from a source logical block address (LBA) to a destination logical block address (LBA);
modifying a logical-to-physical (L2P) table to map the destination LBA to a same physical address as the source LBA;
updating flags in the L2P table corresponding to the source LBA and the destination LBA to indicate more than one LBA refers to the same physical address;
after modifying the L2P table and setting the flags and before copying the data, storing a token to the non-volatile storage device to indicate the copy command is complete;
sending an acknowledgement to the host to indicate the copy command is complete; and
in response to receipt of a write command to write to the source LBA or the destination LBA and in response to at least one of the flags having been set, copying the data.