[PATCH v2] MTD: modify mtd api to return bitflip info on read operations

Peter Horton phorton at bitbox.co.uk
Sun Dec 4 03:43:01 EST 2011


On 03/12/2011 20:20, Mike Dunn wrote:
>
> This patch proposes a change to the mtd API for the purpose of returning to
> the caller information on the number of bit errors corrected by the ecc
> facilities of the device during read operations.  The affected functions are
> read() and read_oob().
>

Do the number of bit-flips mean anything to the higher layers like UBI? 
As the ECC strength / error rate are a chip dependent thing how do the 
higher layers know what is good/normal/bad?

P.



More information about the linux-mtd mailing list