摘要 |
PROBLEM TO BE SOLVED: To provide a controller, a data storage device and a program capable of decreasing the amount of data actually written in a storage medium with respect to a total amount of the data.SOLUTION: A controller includes a write control section, a read control section and a transcription control section. The write control section converts data to cluster data and performs control such that correspondence of the cluster data to a logical address and a physical address of a write destination is written in a storage section while performing control such that the cluster data are compressed by a compression section and are written in a storage medium in response to the physical address of the write destination. The read control section acquires the physical address from the storage section with respect to the data, reads the cluster data from the storage medium in response to the physical address acquired and performs control such that the cluster data read are expanded by an expansion section and are output. The transcription control section performs control such that the cluster data are read from the storage medium, are expanded and compressed and are written to a transcription destination of the storage medium in the storage medium and the storage section in the same manner as the write control section. |