Power Failure Detection And Correction In A Flash Memory Device
First Claim
1. In a computer that uses a flash medium to store data, a method for detecting a power failure, comprising:
- storing meta-information at a location on a flash medium indicated by a write pointer if the computer shuts-down according to a normal shutdown mode;
during initialization of the computer, checking whether the meta-information is present in the location on the flash medium indicated by the write pointer;
concluding that the computer shutdown according to the normal shutdown mode if the meta-information is present; and
concluding that the computer did not shutdown according to the normal shutdown mode if the meta-information is not present.
1 Assignment
0 Petitions
Accused Products
Abstract
A transactional file system developed to function with flash memory is described. The file system performs power-failure detection and ensures data integrity in the event of a power failure. In one described implementation, a power failure event can be detected by a file system, components of the file system, or individual modules in the form or computer-executable instructions and/or logic. Meta-information is stored at a location on a flash medium indicated by a write pointer if a computer device shuts-down according to a normal shutdown mode. During initialization of the computer, a check is performed whether the meta-information is present in the location on the flash medium indicated by the write pointer. If the meta-information is present, then a conclusion is made that the computer shutdown according to the normal shutdown mode.
-
Citations
20 Claims
-
1. In a computer that uses a flash medium to store data, a method for detecting a power failure, comprising:
-
storing meta-information at a location on a flash medium indicated by a write pointer if the computer shuts-down according to a normal shutdown mode;
during initialization of the computer, checking whether the meta-information is present in the location on the flash medium indicated by the write pointer;
concluding that the computer shutdown according to the normal shutdown mode if the meta-information is present; and
concluding that the computer did not shutdown according to the normal shutdown mode if the meta-information is not present. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. One or more computer-readable media comprising computer executable instructions that, when executed, direct a computer to:
-
store meta-information at a location on a flash medium indicated by a write pointer if the computer shuts-down according to a normal shutdown mode;
during initialization of the computer, check whether the meta-information is present in the location on the flash medium indicated by the write pointer; and
conclude that the computer shutdown according to the normal shutdown mode if the meta-information is present. - View Dependent Claims (10, 11, 12, 13, 14, 15)
-
-
16. A system for ensuring data integrity in a flash medium, comprising:
-
a write pointer configured to advance through a circular sequence of memory locations in the flash medium indicating a memory location that is free to receive data as the write pointer advances; and
a power failure manager configured to store metadata in the memory location indicated by the write pointer after completion of a write operation. - View Dependent Claims (17, 18, 19, 20)
-
Specification