diff options
author | Jaegeuk Kim <jaegeuk@kernel.org> | 2015-09-26 04:34:50 +0200 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2015-10-10 01:20:54 +0200 |
commit | 90b803e6fb6243922bff9ddd8a6205c17cb93b31 (patch) | |
tree | 197cfe1aca85ed407167d7bcbbbde9c7fe96f15f /fs/f2fs/node.h | |
parent | f2fs: remove unneeded f2fs_{,un}lock_op in do_recover_data() (diff) | |
download | linux-90b803e6fb6243922bff9ddd8a6205c17cb93b31.tar.xz linux-90b803e6fb6243922bff9ddd8a6205c17cb93b31.zip |
f2fs: do not skip dentry block writes
Previously, we skip dentry block writes when wbc is SYNC_NONE with no memory
pressure and the number of dirty pages is pretty small.
But, we didn't skip for normal data writes, which gives us not much big impact
on overall performance.
Moreover, by skipping some data writes, kworker falls into infinite loop to try
to write blocks, when many dir inodes have only one dentry block.
So, this patch removes skipping data writes.
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'fs/f2fs/node.h')
-rw-r--r-- | fs/f2fs/node.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/f2fs/node.h b/fs/f2fs/node.h index 7427e956ad81..51c62edf2e89 100644 --- a/fs/f2fs/node.h +++ b/fs/f2fs/node.h @@ -118,7 +118,6 @@ 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 */ INO_ENTRIES, /* indicates inode entries */ EXTENT_CACHE, /* indicates extent cache */ BASE_CHECK, /* check kernel status */ |