US 11,789,634 B2
Systems and methods for processing copy commands
Fnu Vikram Singh, Fremont, CA (US)
Assigned to Samsung Electronics Co., Ltd., Yongin-si (KR)
Filed by SAMSUNG ELECTRONICS CO., LTD., Suwon-si (KR)
Filed on Oct. 2, 2020, as Appl. No. 17/62,467.
Claims priority of provisional application 63/057,726, filed on Jul. 28, 2020.
Prior Publication US 2022/0035530 A1, Feb. 3, 2022
Int. Cl. G06F 3/06 (2006.01)
CPC G06F 3/065 (2013.01) [G06F 3/0604 (2013.01); G06F 3/0659 (2013.01); G06F 3/0679 (2013.01)] 20 Claims
OG exemplary drawing
 
1. A method for processing a copy command from a host to a storage device, the method comprising:
receiving, by a first controller of the storage device, the copy command from the host via a first queue, wherein the copy command includes a first source address and a first destination address;
generating, by the storage device, based on the copy command, a first read command;
storing, by the storage device, the first read command in a second queue of the storage device;
retrieving and processing, by a second controller of the storage device, the first read command from the second queue;
reading, by the storage device, based on the processing of the first read command, data stored in a first location of a storage media of the storage device associated with the first source address, wherein the data read from the first location is stored in a first buffer in the storage device;
generating, by the storage device, a first write command in response to the reading of the data;
storing, by the storage device, the first write command in the second queue;
identifying, by the storage device, an address for the data in the first buffer;
writing, by the storage device, based on the processing of the first write command, the data to a second location of the storage media associated with the first destination address, wherein the processing of the first write command includes retrieving the data from the first buffer, based on the address, for writing to the second location of the storage media; and
transmitting, by the first controller, a signal to the host for indicating completion of the copy command.