added Samsung F2FS support in 5.0.5


Recommended Posts

Hello,

 

I've been using this for a little while , so figured I could package it up for others to use.

 

This is the Linux kernel module and utilities for Samsung's F2FS (Flash-Friendly File System) that I built for installation on Unraid 5.0.5

 

This is a NAND flash optimized filesystem, more information here:

http://en.wikipedia.org/wiki/F2FS

http://lkml.iu.edu/hypermail/linux/kernel/1210.0/03173.html

 

 

I've made two packages, one is the kernel module, and the other a slackware package of the latest F2FS-progs (v1.4.0).

 

They can be downloaded from my dropbox: https://www.dropbox.com/sh/8jwlykfup902h2p/AACiIuxR0CVtaRgV4fuF9jbUa?dl=0

 

You will need to untar the kernel module from the root directory, and it'll install in the proper path.

The utilities package you can install with installpkg .

 

You can either modprobe -a after installation so the module registers, or specify the filesystem type in the mount command (-t f2fs) for the module to load.  You could always autoload the module as well..

 

I've been using it for a while on SSD drive that aren't cache nor array and are mounted separately to host some applications I run on the server.

 

One advantage of this FS on NAND/SSD/Flash is its ability to do HOT/COLD data separation which can reduce WAF (Write Amplification Factor) up to 74% to make the SSD faster.

( see

)

The default filesystem format (mkfs.f2fs) enables the default cold list which is filename extension based and contains all the popular media file extensions (including mkv)

see line 27: https://android.googlesource.com/platform/external/f2fs-tools/+/e1a8e74e66682503dfdc497ccbb5900eede0ccaf/mkfs/f2fs_format.c

 

 

 

 

 

 

 

 

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.