From 1d39e33d46f32862da2ec1c394401239515206b8 Mon Sep 17 00:00:00 2001 From: Malek Degachi Date: Sat, 9 Nov 2013 21:27:27 +0100 Subject: fstrim: New applet fstrim applet is a port from util-linux. "Trimming" your NAND/eMMC storage will restore the write performance back to normal after having slow down issues on sequential write and random write due to usage over time. Good reading on subject: http://forum.xda-developers.com/showthread.php?t=1971852 (with long options and CLEAN_UP turned on) function old new delta .rodata 148494 148791 +297 fstrim_main - 283 +283 fstrim_sfx - 128 +128 packed_usage 28826 28903 +77 applet_main 2760 2768 +8 applet_names 2343 2350 +7 applet_nameofs 690 692 +2 ------------------------------------------------------------------------------ (add/remove: 3/0 grow/shrink: 5/0 up/down: 802/0) Total: 802 bytes Signed-off-by: Malek Degachi Cc: Eugene San (eugenesan) Signed-off-by: Bernhard Reutner-Fischer --- util-linux/Config.src | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'util-linux/Config.src') diff --git a/util-linux/Config.src b/util-linux/Config.src index 5a8b0063b..ef7039720 100644 --- a/util-linux/Config.src +++ b/util-linux/Config.src @@ -246,6 +246,13 @@ config FSCK_MINIX check for and attempt to repair any corruption that occurs to a minix filesystem. +config FSTRIM + bool "fstrim" + default y + select PLATFORM_LINUX + help + Discard unused blocks on a mounted filesystem. + config MKFS_EXT2 bool "mkfs_ext2" default y -- cgit v1.2.3