summaryrefslogtreecommitdiffstats
path: root/fs/f2fs/data.c
diff options
context:
space:
mode:
authorChao Yu <yuchao0@huawei.com>2020-05-26 09:55:02 +0800
committerJaegeuk Kim <jaegeuk@kernel.org>2020-05-28 12:00:43 -0700
commitdc35d73a42291b2a68f5b9a12b2b095b82194c1f (patch)
tree5036c8eb103f3ffbb83f362f2b43e15ce6d1597f /fs/f2fs/data.c
parent47d0d7d76437ca9f48314844bc44dd08615302a1 (diff)
downloadlinux-dc35d73a42291b2a68f5b9a12b2b095b82194c1f.tar.gz
linux-dc35d73a42291b2a68f5b9a12b2b095b82194c1f.tar.bz2
linux-dc35d73a42291b2a68f5b9a12b2b095b82194c1f.zip
f2fs: compress: don't compress any datas after cp stop
While compressed data writeback, we need to drop dirty pages like we did for non-compressed pages if cp stops, however it's not needed to compress any data in such case, so let's detect cp stop condition in cluster_may_compress() to avoid redundant compressing and let following f2fs_write_raw_pages() drops dirty pages correctly. Signed-off-by: Chao Yu <yuchao0@huawei.com> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'fs/f2fs/data.c')
0 files changed, 0 insertions, 0 deletions