Patent ID: 9047232
Filing Date: 2015-06-02
Classification: G06F

Abstract:
1. A storage apparatus comprising: a storage medium configured to store data; and a control unit configured to control access to the storage medium, wherein the control unit includes: the control information generated indicates whether each piece of data stored in the first storage is to be transferred, a position where each piece of data is stored in the first storage, and a size of each piece of data at transfer, the first storage stores the control information, and the transfer controller is configured to control transfer of the control information in the first storage to the second storage when the supply of power to the control unit is stopped, the first storage is a cache memory and the second storage is a flash memory, the cache memory has a plurality of storage areas each having a same storage capacity, the plurality of storage areas include a writing cache area and a readout cache area, the writing cache area is a storage area, in the cache memory, in which a writing cache is partially or wholly stored and a readout cache is stored in a remaining part of the writing cache area when the writing cache is partially stored in the writing cache area, the writing cache includes writing data, received from a host computer, that has not been stored in the storage medium, the readout cache includes readout data read from the storage medium and writing data received from the host computer, that has been stored in the storage medium, the readout cache area is a storage area, in the cache memory, in which only the readout cache is stored, wherein the control information includes determination information to determine whether each of the plurality of storage areas is the writing cache area, and the transfer controller transfers all data stored in the determined writing cache area to the flash memory when determining that a storage area in the cache memory is the writing cache area based on the determination information.