summaryrefslogtreecommitdiffstats
path: root/fs/f2fs/node.h
diff options
context:
space:
mode:
authorJaegeuk Kim <jaegeuk@kernel.org>2014-11-06 15:24:46 -0800
committerJaegeuk Kim <jaegeuk@kernel.org>2014-11-06 15:24:46 -0800
commite5e7ea3c86e56b725e4076e8dc583378abad7697 (patch)
treea45ac759f1fc7391327ebc1dc56e8db00f9a3cc8 /fs/f2fs/node.h
parent8c402946f0743af91d22eca31d98b058b3371054 (diff)
downloadlinux-e5e7ea3c86e56b725e4076e8dc583378abad7697.tar.bz2
f2fs: control the memory footprint used by ino entries
This patch adds to control the memory footprint used by ino entries. This will conduct best effort, not strictly. Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'fs/f2fs/node.h')
-rw-r--r--fs/f2fs/node.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/f2fs/node.h b/fs/f2fs/node.h
index acb71e507a7a..d10b6448a671 100644
--- a/fs/f2fs/node.h
+++ b/fs/f2fs/node.h
@@ -106,7 +106,8 @@ static inline void raw_nat_from_node_info(struct f2fs_nat_entry *raw_ne,
enum mem_type {
FREE_NIDS, /* indicates the free nid list */
NAT_ENTRIES, /* indicates the cached nat entry */
- DIRTY_DENTS /* indicates dirty dentry pages */
+ DIRTY_DENTS, /* indicates dirty dentry pages */
+ INO_ENTRIES, /* indicates inode entries */
};
struct nat_entry_set {