Using UBIFS as an FTL

Daniel Ehrenberg dehrenberg at google.com
Fri Jul 25 11:21:06 PDT 2014


Hi Artem, others,

For my project, I'm looking into using ext4 on top of NAND flash, in
order to use some fancy ext4 features. For this, I need an FTL in the
middle. I'm wondering which would be good to use. Options that I've
looked at are:
- ubiblock--the read-modify-write sounds unacceptable to me, even if
wear leveling and atomicity are handled.
- Some coworkers have suggested a new effort to build a new block
device, but that that's a huge project and takes a long time to get
right.
- loopback-mounting a file on ubifs--From skimming the code, it looks
to me like ubifs uses some nice datastructures to handle writes within
a file without doing read-modify-writes all the time as ubiblock
forces. ubifs authors/maintainers, do you see any downside to using
ubifs this way?

Thanks,
Dan



More information about the linux-mtd mailing list