CPC G06F 3/0619 (2013.01) [G06F 3/064 (2013.01); G06F 3/0689 (2013.01); G06F 12/1009 (2013.01)] | 16 Claims |
1. A method for performing data access management of a memory device in a predetermined communications architecture to enhance sudden power off recovery (SPOR) of page-group-based redundant array of independent disks (RAID) protection with aid of multi-table control using a dummy flag, the method being applied to a memory controller of the memory device, the memory device comprising the memory controller and a non-volatile (NV) memory, the NV memory comprising at least one NV memory element, the at least one NV memory element comprising a plurality of blocks, the method comprising:
after occurrence of a sudden power off (SPO) event, utilizing the memory controller to perform a SPOR procedure in response to the SPO event, wherein the SPOR procedure comprises:
determining a beginning location of a damaged page group;
updating a temporary physical-to-logical (P2L) address mapping table corresponding to a first active block to carry the dummy flag in each P2L table entry of at least one P2L table entry corresponding to at least one set of damaged pages, for indicating that RAID encoding of the at least one set of damaged pages in the damaged page group should be skipped;
writing at least one set of dummy pages into the first active block; and
updating the temporary P2L address mapping table to carry the dummy flag in each P2L table entry of at least one P2L table entry corresponding to the at least one set of dummy pages, for indicating that RAID encoding of the at least one set of dummy pages in the damaged page group should be skipped; and
after performing the SPOR procedure in response to the SPO event, utilizing the memory controller to write subsequent data into at least one set of subsequent pages in the damaged page group.
|