User: Password:
Subscribe / Log in / New account

Log-structured filesystems

Log-structured filesystems

Posted Apr 10, 2008 18:06 UTC (Thu) by abacus (guest, #49001)
Parent article: UBIFS

Would it be a good idea to use BTRFS on a flash-based memory device ? BTRFS is a
log-structured filesystem, just like ZFS. Log-structured filesystems try to write all data in
one long log without overwriting older data, which is ideal for flash-based devices. And these
filesystems typically use a block size of 64 KB or more.

See also:

(Log in to post comments)

Log-structured filesystems

Posted Apr 14, 2008 6:44 UTC (Mon) by Cato (subscriber, #7643) [Link]

Flash filesystems such as JFFS2, UBIFS, LogFS, etc are designed for direct use of MTDs (memory
technology devices, i.e. devices that expose the fact they are Flash - typically within an
embedded system), not on block devices (i.e. hard drives or consumer Flash drives such as
Compact Flash, USB thumb drives, etc).  It may be that BTRFS would work well on the latter,
but it probably wouldn't work on MTDs, as it would need to include an FTL (Flash Translation
Layer) to do wear levelling etc.  

Of course, BTRFS ideas and code might be useful in writing an MTD-capable flash filesystem
such as UBIFS/LogFS, but you might as well start from scratch as Flash is a very different
medium to hard disks.

Copyright © 2017, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds