CPC G06F 3/0656 (2013.01) [G06F 3/064 (2013.01); G06F 3/0616 (2013.01); G06F 3/0679 (2013.01)] | 18 Claims |
1. A storage device comprising:
a buffer memory configured to store data write-requested from a host;
a memory device including a plurality of user blocks, a plurality of reserved blocks which substitute for the plurality of user blocks, and a plurality of power loss protection blocks for storing therein buffer data from the buffer memory when a sudden power loss occurs, the sudden power loss causing abnormal interruption of a power supply to the storage device; and
a memory controller configured to:
determine whether any memory block capable of storing the write-requested data among the plurality of user blocks and the plurality of reserved blocks exists in response to a write operation error of the plurality of user blocks and the plurality of reserved blocks, and
change to user blocks, one or more power loss protection blocks among the plurality of power loss protection blocks according to the determination.
|