| CPC G06F 3/0659 (2013.01) [G06F 3/0604 (2013.01); G06F 3/0679 (2013.01)] | 21 Claims |

|
1. A storage device comprising:
a memory for storing data; and
a controller configured to:
receive a compression write command from an outside of the storage device to compress and write original data;
compress the original data, based on whether compression information that corresponds to the compression write command is supported, into compressed data using a preset value; and
store the compressed data in the memory,
wherein the compression information includes a first compression algorithm, and the preset value includes the first compression algorithm or a preset reference compression algorithm, and
wherein the controller compresses the original data into the compressed data using the first compression algorithm when the first compression algorithm indicated by the compression write command is supported, and compresses the original data into the compressed data using the preset reference compression algorithm when the first compression algorithm indicated by the compression write command is not supported.
|