Skip to content
  • Jaegeuk Kim's avatar
    f2fs: do not skip dentry block writes · 90b803e6
    Jaegeuk Kim authored
    
    
    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>
    90b803e6