diff options
author | Jaegeuk Kim <jaegeuk@kernel.org> | 2014-11-06 15:24:46 -0800 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2014-11-06 15:24:46 -0800 |
commit | e5e7ea3c86e56b725e4076e8dc583378abad7697 (patch) | |
tree | a45ac759f1fc7391327ebc1dc56e8db00f9a3cc8 /fs/f2fs/node.h | |
parent | 8c402946f0743af91d22eca31d98b058b3371054 (diff) | |
download | linux-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.h | 3 |
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 { |