summaryrefslogtreecommitdiff
path: root/fs/f2fs/node.h
diff options
context:
space:
mode:
authorJaegeuk Kim <jaegeuk.kim@samsung.com>2014-03-19 08:45:52 +0400
committerJaegeuk Kim <jaegeuk.kim@samsung.com>2014-03-20 17:10:09 +0400
commita5f420101db326e27ef5c2ab737c8c1b0e3559e3 (patch)
tree25614bc20d540070ac2e57e270d2156885b1f77a /fs/f2fs/node.h
parentcdfc41c134d48c1923066bcfa6630b94588ad6bc (diff)
downloadlinux-a5f420101db326e27ef5c2ab737c8c1b0e3559e3.tar.xz
f2fs: remove unnecessary threshold
The NM_WOUT_THRESHOLD is now obsolete since f2fs starts to control on a basis of the memory footprint. Signed-off-by: Jaegeuk Kim <jaegeuk.kim@samsung.com>
Diffstat (limited to 'fs/f2fs/node.h')
-rw-r--r--fs/f2fs/node.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/fs/f2fs/node.h b/fs/f2fs/node.h
index c97215432100..c2015b71ff87 100644
--- a/fs/f2fs/node.h
+++ b/fs/f2fs/node.h
@@ -20,9 +20,6 @@
/* maximum readahead size for node during getting data blocks */
#define MAX_RA_NODE 128
-/* maximum cached nat entries to manage memory footprint */
-#define NM_WOUT_THRESHOLD (64 * NAT_ENTRY_PER_BLOCK)
-
/* control the memory footprint threshold (10MB per 1GB ram) */
#define DEF_RAM_THRESHOLD 10