Adaptive power cycle sequences for data recovery
First Claim
Patent Images
1. A method for a power cycle recovery sequence in a computing device, comprising:
- providing, in a cache, a free list block comprising free list entries pointing to sections in a memory in a system;
scanning the free list block to determine if each used free section is dirty, wherein a used free section that is dirty will require an update of a directory (DirBlk) and information directory block (BlkInfoDirBlk) that are associated with the used free section, and wherein each used free section stores user data;
if any given used free section is dirty, then performing a power cycle recovery sequence of the information directory block (BlkInfoDirBlk) and performing a power cycle recovery sequence of the directory (DirBlk);
scanning each free section that is pointed to by each free list entry; and
if any given free section is clean, then performing a power cycle recovery sequence for the information directory block (BlkInfoDirBlk), and if the given free section is dirty, then erasing the given free section.
3 Assignments
0 Petitions
Accused Products
Abstract
The present invention relates to an apparatus, method, and/or sequence that adaptively provide the recovery of data after a power cycle sequence, wherein only minimal updates are provided for control blocks associated with the data.
257 Citations
17 Claims
-
1. A method for a power cycle recovery sequence in a computing device, comprising:
-
providing, in a cache, a free list block comprising free list entries pointing to sections in a memory in a system; scanning the free list block to determine if each used free section is dirty, wherein a used free section that is dirty will require an update of a directory (DirBlk) and information directory block (BlkInfoDirBlk) that are associated with the used free section, and wherein each used free section stores user data; if any given used free section is dirty, then performing a power cycle recovery sequence of the information directory block (BlkInfoDirBlk) and performing a power cycle recovery sequence of the directory (DirBlk); scanning each free section that is pointed to by each free list entry; and if any given free section is clean, then performing a power cycle recovery sequence for the information directory block (BlkInfoDirBlk), and if the given free section is dirty, then erasing the given free section. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. An apparatus for providing a power cycle recovery sequence in a computing device, the apparatus comprising:
-
a storage system including a memory controller and a processor, wherein the memory controller and processor permit the storage system to; provide, in a cache, a free list block comprising free list entries pointing to sections in a memory in a system; scan the free list block to determine if each used free section is dirty, wherein a used free section that is dirty will require an update of a directory (DirBlk) and information directory block (BlkInfoDirBlk) that are associated with the used free section, and wherein each used free section stores user data; perform a power cycle recovery sequence of the information directory block (BlkInfoDirBlk) and perform a power cycle recovery sequence of the directory (DirBlk), if any given used free section is dirty; scan each free section that is pointed to by each free list entry; and perform a power cycle recovery sequence for the information directory block (BlkInfoDirBlk) if any given free section is clean, and erase the given free section if the given free section is dirty. - View Dependent Claims (10, 11, 12, 13, 14, 15, 16)
-
-
17. An article of manufacture, comprising:
-
a non-transient computer-readable medium having stored thereon instructions that permit a method comprising; providing, in a cache, a free list block comprising free list entries pointing to sections in a memory in a system; scanning the free list block to determine if each used free section is dirty, wherein a used free section that is dirty will require an update of a directory (DirBlk) and information directory block (BlkInfoDirBlk) that are associated with the used free section, and wherein each used free section stores user data; if any given used free section is dirty, then performing a power cycle recovery sequence of the information directory block (BlkInfoDirBlk) and performing a power cycle recovery sequence of the directory (DirBlk); scanning each free section that is pointed to by each free list entry; and if any given free section is clean, then performing a power cycle recovery sequence for the information directory block (BlkInfoDirBlk), and if the given free section is dirty, then erasing the given free section.
-
Specification