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

Artem Bityutskiy dedekind1 at gmail.com
Mon Dec 5 01:07:12 EST 2011


On Sun, 2011-12-04 at 06:55 -0800, Mike Dunn wrote:
> So you're thinking that the driver would supply both ecc_strength and
> "scrublevel" (or maybe bb_threshold)?  Would these go into struct mtd_info?

Probably yes. After all, UBI has no idea about what kind of flash is
that and what kind of ECC it uses and what bit-flip level needs
scrubbing. So I think this kind of information should come from the
driver or from the user via mtd sysfs files. What do you think?

Artem.




More information about the linux-mtd mailing list