[Devel] [PATCH RHEL7 COMMIT] ve/fs/writeback: use redirty_tail to skip inodes
Konstantin Khorenko
khorenko at virtuozzo.com
Mon Jan 25 04:26:08 PST 2016
The commit is pushed to "branch-rh7-3.10.0-229.7.2.vz7.9.x-ovz" and will appear at https://src.openvz.org/scm/ovz/vzkernel.git
after rh7-3.10.0-229.7.2.vz7.9.27
------>
commit c298ffa25b3f84257e6e122bfa8d2cf9ed1a6fff
Author: Andrey Ryabinin <aryabinin at virtuozzo.com>
Date: Mon Jan 25 16:26:08 2016 +0400
ve/fs/writeback: use redirty_tail to skip inodes
We call requeue_io() on inode that meant to be skipped. It's not right
since requeue_io() means that we will busy retry to write that inode.
redirty_tail() should be used to skip inodes.
https://jira.sw.ru/browse/PSBM-43375
Signed-off-by: Andrey Ryabinin <aryabinin at virtuozzo.com>
Acked-by: Dmitry Monakhov <dmonakhov at virtuozzo.com>
---
fs/fs-writeback.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/fs/fs-writeback.c b/fs/fs-writeback.c
index 7b83367..d48530f9 100644
--- a/fs/fs-writeback.c
+++ b/fs/fs-writeback.c
@@ -729,7 +729,7 @@ static long writeback_sb_inodes(struct super_block *sb,
if ((work->ub || work->filter_ub) &&
ub_should_skip_writeback(work->ub, inode)) {
spin_unlock(&inode->i_lock);
- requeue_io(inode, wb);
+ redirty_tail(inode, wb);
continue;
}
More information about the Devel
mailing list