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

Konstantin Tokarev annulen at yandex.ru
Tue Jul 14 02:48:37 PDT 2015


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?

-- 
Regards,
Konstantin



More information about the linux-mtd mailing list