主权项 |
1. A data storage device, comprising:
a flash memory, having a plurality of block groups, wherein each of the block groups has a plurality of blocks, and each of the blocks has a plurality of pages; and a controller, configured to perform a first read operation on at least one first page of a first block of a first block group of the block groups, and perform a maintenance process when the first read operation is finished, wherein the controller is configured to determine whether a first group read count of the first block group is greater than a read threshold in the maintenance process, wherein the controller is configured to scan each of the blocks of the first block group to obtain a plurality of first error bit numbers corresponding to the blocks of the first block group when the first group read count is greater than the read threshold, and update the block corresponding to the first error bit number that is greater than an error-bit threshold. |