Patent ID: 8631189

Claim:
A storage apparatus comprising: an input/output section configured to input and output data related to an external access made by a host apparatus; a memory for storing input data input by the input/output section, the memory including a plurality of areas and being configured to distribute the input data to the plurality of areas while making use of a cache area to temporarily store the input data; and a control section configured to make an access to the memory based on the external access made by the host apparatus, the external access including a write access made by the host apparatus, and to carry out a garbage collection operation on the plurality of areas including the cache area in order to release the cache area during a period of the write access made by the host apparatus, wherein, the control section carries out the garbage collection operation on the plurality of areas including the cache area during the period of the write access made by the host apparatus by dividing the garbage collection operation into a plurality of garbage collection sub-operations, and the control section responds to the write access made by the host apparatus at a time between every two adjacent garbage collection sub-operations, the control section transmitting (i) a write-operation-in-progress response signal to the host apparatus at the time between every two adjacent garbage collection sub-operations and (ii) a write completion response signal to the host apparatus after an execution of a last one of the plurality of garbage collection sub-operations.