Systems and methods for performing defect detection and data recovery in a memory system
First Claim
1. A method for performing defect detection and data recovery within a memory system, the method comprising:
- in a controller of a memory system coupled to a host device;
receiving a command to write data in a memory of the memory system;
determining a physical location of the memory that is associated with the data write;
writing data associated with the data write to the physical location of the memory;
determining whether a Flash Management Unit Tag cache (“
Tag cache”
) is full;
in response to determining that the Tag case is not full, storing the physical location of the memory that is associated with the data write in the Tag cache;
in response to determining that the Tag cache is full;
flushing the Tag cache and a plurality of data keep caches;
after flushing the Tag cache and the plurality of data keep caches, storing the physical location of the memory that is associated with the data write in the Tag cache;
identifying an edge wordline associated with an open memory block of the memory;
storing a physical location of the memory that is associated with the edge wordline in the Tag cache; and
updating, based on data stored at the physical location of the memory that is associated with the edge wordline, an XOR sum stored in a data keep cache that is associated with the physical location of the memory that is associated with the edge wordline;
identifying a data keep cache of the plurality of data keep caches that is associated with the data write based on the physical location of the memory that is associated with the data write;
updating an XOR sum stored in the identified data keep cache based on the data of the data write and the XOR sum that is stored in the identified data keep cache; and
storing the updated XOR sum in the identified data keep cache.
2 Assignments
0 Petitions
Accused Products
Abstract
Systems and methods for performing defect detection and data recovery within a memory system are disclosed. A controller of a memory system may receive a command to write data in a memory of the memory system; determine a physical location of the memory that is associated with the data write; write data associated with the data write to the physical location; and store the physical location of the memory that is associated with the data write in a Tag cache. The controller may further identify a data keep cache of a plurality of data keep caches that is associated with the data write based on the physical location of the memory that is associated with the data write; update an XOR sum based on the data of the data write; and store the updated XOR sum in the identified data keep cache.
13 Citations
15 Claims
-
1. A method for performing defect detection and data recovery within a memory system, the method comprising:
-
in a controller of a memory system coupled to a host device; receiving a command to write data in a memory of the memory system; determining a physical location of the memory that is associated with the data write; writing data associated with the data write to the physical location of the memory; determining whether a Flash Management Unit Tag cache (“
Tag cache”
) is full;in response to determining that the Tag case is not full, storing the physical location of the memory that is associated with the data write in the Tag cache; in response to determining that the Tag cache is full; flushing the Tag cache and a plurality of data keep caches; after flushing the Tag cache and the plurality of data keep caches, storing the physical location of the memory that is associated with the data write in the Tag cache; identifying an edge wordline associated with an open memory block of the memory; storing a physical location of the memory that is associated with the edge wordline in the Tag cache; and updating, based on data stored at the physical location of the memory that is associated with the edge wordline, an XOR sum stored in a data keep cache that is associated with the physical location of the memory that is associated with the edge wordline; identifying a data keep cache of the plurality of data keep caches that is associated with the data write based on the physical location of the memory that is associated with the data write; updating an XOR sum stored in the identified data keep cache based on the data of the data write and the XOR sum that is stored in the identified data keep cache; and storing the updated XOR sum in the identified data keep cache. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. A memory system coupled with a host device, the memory system comprising:
-
a non-volatile memory; and a processor in communication with the non-volatile memory and configured to perform defect detection and data recovery within the memory system, the processor configured to; receive a command to write data in the non-volatile memory; determine a physical location of the non-volatile memory that is associated with the data write; write data associated with the data write to the physical location of the non-volatile memory; determine whether a Flash Management Unit Tag cache (“
Tag cache”
) is full;in response to a determination that the Tag case is not full, store the physical location of the non-volatile memory that is associated with the data write in the Tag cache; in response to a determination that the Tag cache is full; flush the Tag cache and a plurality of data keep caches; after flushing the Tag cache and the plurality of data keep caches, store the physical location of the non-volatile memory that is associated with the data write in the Tag cache; identify an edge wordline associated with an open memory block of the non-volatile memory; store a physical location of the non-volatile memory that is associated with the edge wordline in the Tag cache; and update, based on data stored at the physical location of the non-volatile memory that is associated with the edge wordline, an XOR sum stored in a data keep cache that is associated with the physical location of the memory that is associated with the edge wordline; identify a data keep cache of the plurality of data keep caches that is associated with the data write based on the physical location of the non-volatile memory that is associated with the data write; update an XOR sum stored in the identified data keep cache based on the data of the data write and the XOR sum that is stored in the identified data keep cache; and store the updated XOR sum in the identified data keep cache. - View Dependent Claims (10, 11, 12, 13, 14, 15)
-
Specification