Re: [PATCH 4/4] UBI: replace MTD_UBI_BEB_LIMIT with user-spaceparameter

From: Artem Bityutskiy
Date: Sun Aug 19 2012 - 15:05:00 EST


On Sun, 2012-08-19 at 10:09 +0300, Shmulik Ladkani wrote:
> On Thu, 16 Aug 2012 16:33:32 +0300 Artem Bityutskiy <dedekind1@xxxxxxxxx> 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

Attachment: signature.asc
Description: This is a digitally signed message part