| CPC G06F 11/108 (2013.01) | 10 Claims |

|
1. A method in a storage system, wherein the storage system comprises a client, a data storage node, and a parity storage node, the method comprising:
determining, by the client, a data block and a parity block in a stripe, wherein the parity block in the stripe is generated according to the data block in the stripe and a parity algorithm, a size of the parity block in the stripe is the same as a size of the data block in the stripe and is equal to a size of a stripe unit in the stripe, and the parity block and the data block belong to a same stripe;
determining, by the client, a metadata of the data block according to the stripe unit identifier of the strip, wherein the metadata of the data block comprises a correspondence between a user access address of the data block in the stripe and an identifier of the stripe unit that stores the data block in the stripe, and the metadata of the data block further comprises a timestamp that is used to determine a new data block;
sending, by the client, the data block and metadata of the data block to the data storage node; and
sending, by the client, the parity block and the metadata of the data block to the parity storage node.
|