]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
f2fs: do not skip dentry block writes
authorJaegeuk Kim <jaegeuk@kernel.org>
Sat, 26 Sep 2015 02:34:50 +0000 (19:34 -0700)
committerJaegeuk Kim <jaegeuk@kernel.org>
Fri, 9 Oct 2015 23:20:54 +0000 (16:20 -0700)
commit90b803e6fb6243922bff9ddd8a6205c17cb93b31
tree197cfe1aca85ed407167d7bcbbbde9c7fe96f15f
parent7223554133c3f72809ea6ddbf0d8464e7c70c1b1
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>
fs/f2fs/data.c
fs/f2fs/node.c
fs/f2fs/node.h
fs/f2fs/segment.h