Patent ID: 8694814

Claim:
A method for data storage, comprising: in a host system that operates alternately in a normal state and a hibernation state, reserving a hibernation storage space in a non-volatile storage device to store hibernation-related information in preparation for entering the hibernation state, wherein the non-volatile storage device includes multiple memory blocks allocated as a user data storage space, over-provisioning memory, and the hibernation storage space; and while the host system is operating in the normal state: allocating at least a portion of the hibernation storage space as over-provisioning memory, thereby allowing valid data to be copied from partially-programmed memory blocks in the user data storage space to the at least a portion of the hibernation storage space, and the valid data from the at least a portion of the hibernation storage space to be copied to the user data storage space subsequent to an erasure operation being performed one or more locations of the user data storage space.