diff options
author | Daeho Jeong <daeho.jeong@samsung.com> | 2017-09-11 09:30:28 +0200 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2017-09-12 06:32:38 +0200 |
commit | 0abd8e70d24b665dd00972d4a259e05528cbf4c6 (patch) | |
tree | 9c0f4ff0c0c5569a562e4baba5bcd2ea8489a2be /samples | |
parent | f2fs: speed up gc_urgent mode with SSR (diff) | |
download | linux-0abd8e70d24b665dd00972d4a259e05528cbf4c6.tar.xz linux-0abd8e70d24b665dd00972d4a259e05528cbf4c6.zip |
f2fs: clear radix tree dirty tag of pages whose dirty flag is cleared
On a senario like writing out the first dirty page of the inode
as the inline data, we only cleared dirty flags of the pages, but
didn't clear the dirty tags of those pages in the radix tree.
If we don't clear the dirty tags of the pages in the radix tree, the
inodes which contain the pages will be marked with I_DIRTY_PAGES again
and again, and writepages() for the inodes will be invoked in every
writeback period. As a result, nothing will be done in every
writepages() for the inodes and it will just consume CPU time
meaninglessly.
Signed-off-by: Daeho Jeong <daeho.jeong@samsung.com>
Reviewed-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions