Commit 90b803e6 authored by Jaegeuk Kim's avatar Jaegeuk Kim
Browse files

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: default avatarJaegeuk Kim <jaegeuk@kernel.org>
parent 72235541
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment