Why UBIFS min I/O unit size must be power of 2?

Richard Weinberger richard.weinberger at gmail.com
Tue Jul 14 04:26:52 PDT 2015


On Tue, Jul 14, 2015 at 11:48 AM, Konstantin Tokarev <annulen at yandex.ru> wrote:
> Hi all,
>
> I'd like to increase compression ratio of UBIFS image (at the cost of possibly
> slower writes). However, my LEB size is 129024, so the largest block size that
> I could use is 2048 (otherwise LEB won't be multiple of I/O unit size).
>
> So I wonder why UBIFS cannot use 129024 as I/O unit size and requires it to be
> power of 2? Is it possible to eleminate this limitation?

To my knowledge the property is defined by hardware limitations (i.e.
flash properties).

-- 
Thanks,
//richard



More information about the linux-mtd mailing list