[PATCH 1/3] mtd_debug: report ecc layout

Artem Bityutskiy dedekind1 at gmail.com
Mon Aug 22 07:00:35 EDT 2011


On Thu, 2011-08-18 at 10:01 -0400, Ben Gardiner wrote:
> Fair enough -- I'm happy to hear a definitive answer; thank you, Artem.
> 
> In PATCH 3/3 I use the same ioctl to get the ECC size for the purposes
> of producing a BER estimate. What is the right way of getting the ECC
> size now that ECCGETLAYOUT is deprecated? Is this even something that
> should be from userspace at all?

I do not know. I think we need to expose it via sysfs. I think that in
general sysfs is better that "informational" ioctls.

-- 
Best Regards,
Artem Bityutskiy




More information about the linux-mtd mailing list