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.

Signed-off-by: Andrey Ryabinin <aryabi...@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;
                }
 
-- 
2.4.10

_______________________________________________
Devel mailing list
Devel@openvz.org
https://lists.openvz.org/mailman/listinfo/devel

Reply via email to