Patent ID: 8677205

Claim:
A method comprising: determining presence of data errors for each of a plurality of unique memory segments of a memory region; for each memory segment if the data error is a first type of error, correcting the data error in the memory segment, wherein the first type of error has no more than a first number of bit errors; for each memory segment if the data error is a second type of error, set a flag associated with the memory segment, wherein the second type of error has a second number of bit errors that is greater than the first number of bit errors; and if only one memory segment in the memory region has its associated flag set, then determining if the data error is a third type of error, and in response to the data error not being the third type of error correcting the data error in the only one memory segment for the memory region, otherwise, determine a corrective action, wherein the third type of error has a third number of bit errors that is greater than the second number of bit errors.