Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1412763 > unrolled thread

[PATCH 7/8] f2fs: fix wrong percentage

Started byJaegeuk Kim <jaegeuk@kernel.org>
First post2016-06-03 06:00 +0200
Last post2016-06-03 06:00 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  [PATCH 7/8] f2fs: fix wrong percentage Jaegeuk Kim <jaegeuk@kernel.org> - 2016-06-03 06:00 +0200

#1412763 — [PATCH 7/8] f2fs: fix wrong percentage

FromJaegeuk Kim <jaegeuk@kernel.org>
Date2016-06-03 06:00 +0200
Subject[PATCH 7/8] f2fs: fix wrong percentage
Message-ID<rFOr7-6ts-1@gated-at.bofh.it>
This should be 1%, 10MB / 1GB.

Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
---
 fs/f2fs/node.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fs/f2fs/node.h b/fs/f2fs/node.h
index 1f4f9d4..2c2a797 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
-- 
2.6.3

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web