摘要 |
PROBLEM TO BE SOLVED: To provide a controller, a data storage device and a program, which can enhance performance during normal use.SOLUTION: A write instruction part 150 instructs a data access part 106 to write a write object data into a storage area of a data storage part 105 indicated by the first physical address, instructs a management information access part 121 to update address conversion information, and instructs the first access part 131 to update the first physical address. A compaction part 170 extracts a physical address of a compaction-object data, instructs the data access part 106 to read out the compaction-object data stored in the storage area of the data storage part 105 indicated by the physical address, instructs the data access part 106 to write the compaction-object data into the storage area of the data storage part 105 indicated by the second physical address, instructs the management information access part 121 to update the address conversion information, and instructs the second access part 141 to update the second physical address. |