]> git.baikalelectronics.ru Git - kernel.git/commit
f2fs: give a chance to detach from dirty list
authorChao Yu <yuchao0@huawei.com>
Tue, 11 Oct 2016 14:57:01 +0000 (22:57 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Wed, 23 Nov 2016 20:10:51 +0000 (12:10 -0800)
commit45f64fdda607fb502e322a66275e1dbefd0cc6a7
treee2048039efe1839eb93849ae8fd012d1c30591c7
parentdf6eb41e1ac8d138f766ac2dd0f385cd40e2a27d
f2fs: give a chance to detach from dirty list

If there is no dirty pages in inode, we should give a chance to detach
the inode from global dirty list, otherwise it needs to call another
unnecessary .writepages for detaching.

Signed-off-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/data.c
fs/f2fs/dir.c
fs/f2fs/gc.c
fs/f2fs/inline.c
fs/f2fs/node.c
fs/f2fs/segment.c