Why not including F2F2 package in trunk? It exists since mainline kernel 3.8 and trunk is currently > 3.8, IIRC.
How much friendly is?: Phoronix benchmarks
Lets start:
How do I create a package for f2fs-tools?
Is "package/kernel/linux/modules/fs.mk" a good place for the patch?
cd ~/build/openwrt/trunk
svn diff
Index: package/kernel/linux/modules/fs.mk
===================================================================
--- package/kernel/linux/modules/fs.mk (revisión: 39223)
+++ package/kernel/linux/modules/fs.mk (copia de trabajo)
@@ -136,6 +136,25 @@
$(eval $(call KernelPackage,fuse))
+define KernelPackage/fs-f2fs
+ SUBMENU:=$(FS_MENU)
+ TITLE:=F2FS filesystem support
+ KCONFIG:= \
+ CONFIG_F2FS_FS \
+ CONFIG_F2FS_STAT_FS=y \
+ CONFIG_F2FS_FS_XATTR=y \
+ CONFIG_F2FS_FS_POSIX_ACL=n
+ FILES:= $(LINUX_DIR)/fs/f2fs/f2fs.ko
+ AUTOLOAD:=$(call AutoLoad,30,f2fs)
+endef
+
+define KernelPackage/fs-f2fs/description
+ Kernel module for F2FS filesystem support
+endef
+
+$(eval $(call KernelPackage,fs-f2fs))
+
+
define KernelPackage/fs-hfs
SUBMENU:=$(FS_MENU)
TITLE:=HFS filesystem support
svn: El directorio «package/mac80211/.svn» con la información de administración de la CdT no está
Offtopic: I manually "rm -rf package/mac80211/*", because it conflicts with package/kernel/mac80211, so every svn command breaks there. How do I recover the svn health?
make menuconfig
-> Kernel modules │
-> Filesystems
-> kmod-fs-f2fs (M)
I would also like a submenu for the extra options, but I make the right decision for you
CONFIG_F2FS_STAT_FS=y Because that fancy name looks required
CONFIG_F2FS_FS_XATTR=y Because from kernel 3.14 small files are saved inline the 4 kiB f2fs inode in a xattr*
CONFIG_F2FS_FS_POSIX_ACL=n Because I don't use ACL
* Like inline_data in ext4 from kernel 3.8
The package depends on "BLOCK", but I don't know how to enforce the dependence nor which package is "BLOCK".
make world
ls -la bin/*/packages/kmod-fs-f2fs*
-rw-r--r-- 59524 feb 4 18:21 bin/ar71xx/packages/kmod-fs-f2fs_3.10.26-1_ar71xx.ipk
Everything looks good, test follows... Soon.