f2fs: fix wrong percentage
authorJaegeuk Kim <jaegeuk@kernel.org>
Thu, 2 Jun 2016 22:26:27 +0000 (15:26 -0700)
committerJaegeuk Kim <jaegeuk@kernel.org>
Tue, 7 Jun 2016 16:45:41 +0000 (09:45 -0700)
This should be 1%, 10MB / 1GB.

Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/node.h

index 1f4f9d4..2c2a797 100644 (file)
@@ -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