| CPC H04L 67/1097 (2013.01) [G06F 13/28 (2013.01); G06F 2213/28 (2013.01)] | 20 Claims |

|
1. A first storage device comprising a front-end network adapter, wherein the front-end network adapter comprises:
at least one processor; and
one or more memories coupled to the at least one processor and storing programming instructions for execution by the at least one processor to:
receive a first packet from a client device, wherein the first packet is for requesting to write first target data into the first storage device;
obtain a logical address of the first target data from the first packet;
write the first target data into the first storage device;
generate metadata;
record a relationship between the logical address of the first target data and the metadata, wherein the metadata indicates a physical address at which the first target data is stored in the first storage device;
send a mirror data write command to a second storage device, wherein the mirror data write command is for requesting to write a copy of the first target data, and the mirror data write command comprises the copy of the first target data and the logical address of the first target data;
receive a second packet comprising a data read command, the data read command comprising a logical address of second target data;
determine, based on the logical address of the second target data, whether a home node of the second target data is the first storage device;
in response to determining that the home node of the second target data is not the first storage device, send the data read command to the second storage device; and
receive the second target data from the second storage device.
|