US 12,477,038 B2
Data access system and method, device, and network adapter
Can Chen, Chengdu (CN); Fanlu Jiang, Chengdu (CN); Qiming Xu, Chengdu (CN); Zhaojiao Han, Shenzhen (CN); Bowei Yu, Chengdu (CN); and Jianye Yao, Chengdu (CN)
Assigned to Huawei Technologies Co., Ltd., Shenzhen (CN)
Filed by HUAWEI TECHNOLOGIES CO., LTD., Guangdong (CN)
Filed on Oct. 12, 2023, as Appl. No. 18/485,942.
Application 18/485,942 is a continuation of application No. PCT/CN2022/084322, filed on Mar. 31, 2022.
Claims priority of application No. 202110399947.4 (CN), filed on Apr. 14, 2021; and application No. 202110697375.8 (CN), filed on Jun. 23, 2021.
Prior Publication US 2024/0039995 A1, Feb. 1, 2024
Int. Cl. H04L 67/1097 (2022.01); G06F 13/28 (2006.01)
CPC H04L 67/1097 (2013.01) [G06F 13/28 (2013.01); G06F 2213/28 (2013.01)] 20 Claims
OG exemplary drawing
 
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.