From: Jaegeuk Kim Date: Thu, 2 Jun 2016 22:26:27 +0000 (-0700) Subject: f2fs: fix wrong percentage X-Git-Tag: v4.8-rc1~145^2~43 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=29710bcf9426c84bb6a9b1d94316895ed6143813;p=karo-tx-linux.git f2fs: fix wrong percentage This should be 1%, 10MB / 1GB. Signed-off-by: Jaegeuk Kim --- diff --git a/fs/f2fs/node.h b/fs/f2fs/node.h index 1f4f9d4569d9..2c2a797e18a8 100644 --- a/fs/f2fs/node.h +++ b/fs/f2fs/node.h @@ -23,7 +23,7 @@ #define MAX_RA_NODE 128 /* control the memory footprint threshold (10MB per 1GB ram) */ -#define DEF_RAM_THRESHOLD 10 +#define DEF_RAM_THRESHOLD 1 /* control dirty nats ratio threshold (default: 10% over max nid count) */ #define DEF_DIRTY_NAT_RATIO_THRESHOLD 10