Patent ID: 10521122

Abstract:
A storage apparatus and method of controlling same which, while preventing depletion of a storage area due to the generation of garbage, also prevent a drop in response performance from the perspective of the host, are proposed. One or more storage devices which constitute a pool, and a controller which manages a log-structured write space which is a virtual logical space, compresses data of a compression target among the data which has been written to the virtual volume by the host and logs the data in the log-structured write space, and writes the post-compression data which has been logged in the log-structured write space to the storage device, are provided in a storage apparatus, the controller restricting reception of a write request from the host when a used capacity of the pool is at or above a threshold; when the data logged in the log-structured write space has been updated, the controller determines whether a predetermined condition is satisfied and, when the predetermined condition is satisfied, the controller overwrites the compressed data of the pre-update data which has been logged in the log-structured write space with the compressed data of the post-update data.