Storage system, request processing method, and switch
AssigneeHuawei Technologies Co., Ltd.
InventorsWei Zha, Changjun He
Life of this patent
Estimating the term…
Abstract
A storage system includes a switch and a plurality of storage nodes. The switch is configured to receive a first request from a client. The first request includes an identifier of a storage partition. The switch queries an entry in a forwarding table based on the identifier to determine a target storage node in the plurality of storage nodes. The entry includes a mapping relationship between the identifier and the target storage node. The switch sends the first request to the target storage node. The target storage node is configured to receive the first request from the switch.
Claims20
A storage system comprising:
- a plurality of storage nodes comprising a target storage node;
- a switch configured to:
- receive a first request from a client, wherein the first request comprises an identifier of a storage partition;
- query an entry in a forwarding table based on the identifier to determine the target storage node in the plurality of storage nodes, wherein the entry comprises a mapping relationship between the identifier and the target storage node;
- and
- send the first request to the target storage node;
- and
- a controller configured to:
- receive a second request from the client;
- determine the target storage node in the plurality of storage nodes based on the second request;
- and
- send the second request to the target storage node,
- wherein the target storage node is configured to:
- receive the second request from the controller;
- generate the identifier of the storage partition based on the second request;
- and
- send the identifier to the controller,
- wherein the controller is further configured to:
- receive the identifier from the target storage node;
- and
- send the entry that comprises the mapping relationship between the identifier and
- the target storage node to the switch, and
- wherein the switch is further configured to:
- receive the entry from the controller;
- and
- update the forwarding table based on the entry.
A request processing method implemented by a storage system comprising a switch and a plurality of storage nodes, wherein the plurality of storage nodes comprises a target storage node, and wherein the request processing method comprises:
- receiving, by the switch, a first request from a client, wherein the first request comprises an identifier of a storage partition;
- querying, by the switch, an entry in a forwarding table based on the identifier to determine the target storage node in the plurality of storage nodes, wherein the entry comprises a mapping relationship between the identifier and the target storage node;
- sending, by the switch, the first request to the target storage node;
- receiving, by the target storage node, the first request from the switch;
- receiving, by a controller of the storage system, a second request from the client;
- determining, by the controller, the target storage node in the plurality of storage nodes based on the second request;
- sending, by the controller, the second request to the target storage node;
- receiving, by the target storage node, the second request from the controller;
- generating, by the target storage node, the identifier of the storage partition based on the second request;
- sending, by the target storage node, the identifier to the controller;
- receiving, by the controller, the identifier from the target storage node;
- sending, by the controller, the entry that comprises the mapping relationship between the identifier and the target storage node to the switch;
- and
- receiving, by the switch, the entry from the controller, and updating the forwarding table based on the entry.
Dependencies are inferred from the claim text.