Linked by Thom Holwerda on Sat 6th Oct 2012 13:59 UTC, submitted by robojerk
Linux "F2FS is a new file system carefully designed for the NAND flash memory-based storage devices. We chose a log structure file system approach, but we tried to adapt it to the new form of storage. Also we remedy some known issues of the very old log structured file system, such as snowball effect of wandering tree and high cleaning overhead."
Thread beginning with comment 537748
To view parent comment, click here.
To read all comments associated with this story, please click here.
RE[2]: Shhh!! Quiet...
by butters on Sun 7th Oct 2012 08:36 UTC in reply to "RE: Shhh!! Quiet..."
Member since:

A log-structured filesystem is not necessarily a bad design choice for FTL volumes. You don't need to worry about wear-leveling, but you don't need to worry about spatial locality either, and you know that the FTL will override any attempts to do in-place updates.

So you can only really optimize two things: allocating free (logical) blocks for writes, and indexing file extents for reads. Log-structured filesystems are as good as it gets for allocating free space (just continue writing where we left off), and they also avoid the fragmentation of files across many extents.

The only thing one might want to do differently than a classic log-structured filesystem is to update the superblocks and inodes in-place and defer to the FTL's wear-leveling algorithm. These are fixed block-sized structures, so in-place updates are simple and copy-on-write is an unnecessary overhead.

Reply Parent Score: 5

RE[3]: Shhh!! Quiet...
by galvanash on Sun 7th Oct 2012 21:02 in reply to "RE[2]: Shhh!! Quiet..."
galvanash Member since:

That makes perfect sense. Thanks for the explanation.

Reply Parent Score: 2