[PATCH 4/4] UBI: replace MTD_UBI_BEB_LIMIT with user-space parameter

Artem Bityutskiy dedekind1 at gmail.com
Sun Aug 19 15:04:52 EDT 2012


On Sun, 2012-08-19 at 10:09 +0300, Shmulik Ladkani wrote:
> On Thu, 16 Aug 2012 16:33:32 +0300 Artem Bityutskiy <dedekind1 at gmail.com> wrote:
> > We do not have that big user-base. No one uses 0 in the tree, most use
> > the default. I never heard anyone using 0. I did not use it also. I
> > think it is OK to have the lower range start from non-zero. But why it
> > is 2 and not 1 - I am not sure :-)
> 
> Artem,
> 
> Note that originally range was 0..25 (percentage).
> 
> It was changed to be 2..256 (per 1024) by 07ad322 in linux-ubi.
> 
> Seems arbitrary change.
> So if you'd like, we can fix to 1..256 (or 0..256) - as you prefer.

Yeah, I wanted to make it 1..256 but forgot, will do now. 0..256 would
need some more work to avoid division by 0.

-- 
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/20120819/6bdfdd3b/attachment.sig>


More information about the linux-mtd mailing list