×

Patrol function used in flash storage controller to detect data errors

  • US 20090172499A1
  • Filed: 04/08/2008
  • Published: 07/02/2009
  • Est. Priority Date: 12/27/2007
  • Status: Active Grant
First Claim
Patent Images

1. In a storage controller attached to a host and to a flash memory module made up of a plurality of flash memory devices, the flash memory devices being organized in groups, each group including a plurality of areas, a method comprising the following steps:

  • (a) performing a first read of first data and first ECC information from a first area of a first group;

    (b) generating second ECC information relating to the first data;

    (c) comparing the first and second ECC information;

    (d) if the first and second ECC information do not match, performing an ECC correction operation on the first data, the ECC correction operation if successful resulting in corrected first data and a value specifying the number of corrected errors; and

    performing steps (e) and (f) if the ECC correction operation was successful;

    (e) if the number of corrected errors exceeds a threshold, writing the corrected first data to an area of the first group other than the first area of the first group and setting an indicator indicating that the data contained in the first area of the first group is invalid;

    (f) if the number of corrected errors does not exceed the threshold, discarding the corrected first data without writing the corrected first data to the flash memory module, the discarding occurring in connection with a subsequent ECC correction operation.

View all claims
  • 11 Assignments
Timeline View
Assignment View
    ×
    ×