Patent ID: 8397017
Filing Date: 2013-03-12
Classification: G06F

Abstract:
1. A controller comprising: a volatile management memory which stores management information for managing a use state of a storage medium; a management information storing unit which divides the management information into a plurality of division pieces and individually stores each division piece in the storage medium; a main controller which receives a command from a host device while the plurality of division pieces are being stored, performs data processing with respect to the storage medium in response to the command between each division piece is stored, updates the management information divided into the plurality of division pieces in accordance with a content of the data processing, and creates a log representing an update content of the management information; a log storing unit which stores the log in the storage medium; and a restoring unit which reads out the plurality of division pieces stored in the storage medium to the management memory as the management information, updates the management information in accordance with the log stored in the storage medium, and restores the updated management information, wherein the log storing unit creates a storage start log representing that storing of the management information starts and stores the storage start log in a log area of the storage medium before storing the plurality of division pieces, and stores a plurality of logs created by the main controller in the log area in a time order after storing the storage start log, and the restoring unit reflects update contents represented by the plurality of logs stored in the log area subsequent to the storage start log in the management information in a time order to restore the updated management information.