Samsung Intros NAND Flash-Friendly File System

On Friday, Jaegeuk Kim from Samsung revealed on the Linux kernel mailing list a new open-source file system for NAND flash storage devices called the Flash-Friendly File System, or F2FS.

Last week Kim said the company chose a log-structured file system (LFS) approach, which it adapted for new form factors like SSDs, SD cards and more. In the process, Samsung fixed some of the known issues surrounding the older log-structured file systems including the snowball effect of wandering trees and high cleaning overhead.

"Because a NAND-based storage device shows different characteristics according to its internal geometry or flash memory management scheme aka FTL, we add various parameters not only for configuring on-disk layout, but also for selecting allocation and cleaning algorithms," Kim added.

The new file system arrives in the form of 16 patches, adding around 13,000 lines of new code to the Linux kernel tree. This will make it easy to integrate the new file system into Android which commands the majority of the smartphone market. The system's Linux-based roots also means it will more likely be adopted by NAND flash device OEMs that may benefit from F2FS.

"Sweet, a new Linux file system from Samsung that is faster than existing ones when running on flash storage devices, submitted in a clean, easy-to-apply manner," said Greg KH, the lead Linux kernel developer. "This will be great for Android-based systems."

To get F2FS, type in the following:

# mkfs.f2fs /dev/sdb1
# mount -t f2fs /dev/sdb1 /mnt/f2fs

For more information, check out the mailing list entry here.

 

Contact Us for News Tips, Corrections and Feedback

Create a new thread in the US News comments forum about this subject
This thread is closed for comments
9 comments
    Your comment
    Top Comments
  • batkerson
    Why isn't it called "F3S" for Flash-Friendly File System???
    13
  • joytech22
    Wow Samsung's really going all-out. A filesystem was the last thing I expected from them.
    Then again, when I found out they also made machinery I was equally shocked.
    11
  • Other Comments
  • ricardok
    How long until implemented on Android? Maybe CyanogenMod will make it available on their ROMs? Hopefully yes.
    1
  • batkerson
    Why isn't it called "F3S" for Flash-Friendly File System???
    13
  • vittau
    Thanks Good Guy Samsung! =)
    4