• Jaegeuk Kim's avatar
    f2fs: check s_dirty under cp_mutex · 8501017e
    Jaegeuk Kim authored
    It needs to check s_dirty under cp_mutex, since s_dirty is reset under that
    mutex.
    And previous condition was not correct, since we can omit doing checkpoint
    when checkpoint was done followed by all the node pages were written back.
    Signed-off-by: default avatarJaegeuk Kim <jaegeuk@kernel.org>
    8501017e
checkpoint.c 25.4 KB