Ezequiel Garcia
2016-01-20 21:50:56 UTC
Hi Ezequiel,
Hope this email finds you well.
this one.
I'm Ccing linux-mtd, and some interested folks.Hope this email finds you well.
this one.
I am looking into enabling ext4 support on top of NAND flash. I am currently
using squashfs on top of UBI volumes (with your read-only block device
emulation), and that works exceptionally well for me (thanks for the quality
code!).
I've looked at your earlier work, where you started with block device
emulation with RW support (e.g. https://lwn.net/Articles/525957/). I haven't
seen much progress there, and in 2014 you''ve introduced RO version.
I was wondering why the switch?
I guess there are two reasons: first, because even though UBIusing squashfs on top of UBI volumes (with your read-only block device
emulation), and that works exceptionally well for me (thanks for the quality
code!).
I've looked at your earlier work, where you started with block device
emulation with RW support (e.g. https://lwn.net/Articles/525957/). I haven't
seen much progress there, and in 2014 you''ve introduced RO version.
I was wondering why the switch?
does wear-leveling, we feared [1] that a regular filesystem would wear out
blocks by doing a crazy amount of writes.
To be honest, it wasn't the main obstacle, so I added the
write-support as an option
with a big fat warning message. It was later asked to drop the option,
and I fell for the
safer read-only instead of leaving write support there.
The read-only version was much much simpler, and it was tempting to keep things
simple. This is the second reason.
You may restart this discussion, write support and see how it goes. I'm not
entirely opposed to the idea.
BTW, why can't you just use UBIFS instead?
[1] http://lkml.iu.edu/hypermail/linux/kernel/1211.2/02895.html
--
Ezequiel GarcĂa, VanguardiaSur
www.vanguardiasur.com.ar
Ezequiel GarcĂa, VanguardiaSur
www.vanguardiasur.com.ar