aboutsummaryrefslogtreecommitdiffstats
path: root/fs/f2fs/node.h
diff options
context:
space:
mode:
authorJaegeuk Kim <jaegeuk@kernel.org>2016-06-02 15:26:27 -0700
committerJaegeuk Kim <jaegeuk@kernel.org>2016-06-07 09:45:41 -0700
commit29710bcf9426c84bb6a9b1d94316895ed6143813 (patch)
tree4710e9696e8bbf0a292417202a14ffe5e858bdb7 /fs/f2fs/node.h
parentf2fs: avoid data race between FI_DIRTY_INODE flag and update_inode (diff)
downloadlinux-dev-29710bcf9426c84bb6a9b1d94316895ed6143813.tar.xz
linux-dev-29710bcf9426c84bb6a9b1d94316895ed6143813.zip
f2fs: fix wrong percentage
This should be 1%, 10MB / 1GB. Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'fs/f2fs/node.h')
-rw-r--r--fs/f2fs/node.h2
1 files changed, 1 insertions, 1 deletions
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