CPC G06F 3/0655 (2013.01) [G06F 3/0604 (2013.01); G06F 3/0679 (2013.01)] | 18 Claims |
1. A data storage device, comprising:
a non-volatile memory; and
a controller, coupled to the non-volatile memory,
wherein:
when determining that raw data read from the non-volatile memory is undesirable data, the controller updates a deterioration table to record a deteriorated logical address of the raw data that is the undesirable data;
in response to a read request that a host issues to read the non-volatile memory for data of the deteriorated logical address, the controller obtains the deteriorated logical address from the deterioration table and informs the host that deterioration has happened at the deteriorated logical address;
the controller accesses the non-volatile memory through a plurality of channels;
the controller provides a plurality of registers correspond one-to-one with the channels; and
when determining that the raw data is the undesirable data, the controller programs a register corresponding to a channel reading the undesirable data to flag the channel as a flagged channel.
|