[PATCH 3/4] UBI: use the whole MTD device size to get bad_peb_limit

Artem Bityutskiy dedekind1 at gmail.com
Wed Jul 18 02:50:06 EDT 2012


On Tue, 2012-07-10 at 18:23 +0200, Richard Genoud wrote:
> 
> The Kconfig option is in per1024 blocks, thus it can have a default
> value of 20 which is *very* common for NAND devices. 

Why do you prefer per1024? I'd make it centi-percent instead, wouldn't
that be more human-friendly. It is just %*100. If I am a user, it is
easy for me to calculate % and multiply that by 100. This per1024 thing
would make me scratch my head...

-- 
Best Regards,
Artem Bityutskiy
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part
URL: <http://lists.infradead.org/pipermail/linux-mtd/attachments/20120718/573cd386/attachment.sig>


More information about the linux-mtd mailing list