| CPC H04L 69/04 (2013.01) [H03M 7/6011 (2013.01)] | 20 Claims |

|
1. A method for transmitting a data block, comprising:
receiving, from a client, a request for reading the data block;
determining, at a data block layer, whether the data block needs to be compressed at a protocol layer based on a flag indicating whether the data block has been compressed and a storage size of the data block;
transferring, in response to determining that the data block does not need to be compressed at the protocol layer, an indication that the data block does not need to be compressed at the protocol layer from the data block layer to the protocol layer; and
sending the data block to the client through the protocol layer without compressing the data block at the protocol layer;
wherein transferring the indication that the data block does not need to be compressed at the protocol layer from the data block layer to the protocol layer comprises:
transferring the indication from the data block layer to a file system layer; and
transferring the indication from the file system layer to the protocol layer.
|