[prev in list] [next in list] [prev in thread] [next in thread]
List: reiserfs-devel
Subject: [PATCHv2 2/3] reiser4: call account_page_redirty() on re-dirtying pages before giving them to entd.
From: Ivan Shapovalov <intelfx100 () gmail ! com>
Date: 2015-10-24 23:02:19
Message-ID: 1445727740-12361-3-git-send-email-intelfx100 () gmail ! com
[Download RAW message or body]
I guess we want that to rollback effects of account_page_dirtied()
in set_page_dirty_notag().
Signed-off-by: Ivan Shapovalov <intelfx100@gmail.com>
---
fs/reiser4/entd.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/fs/reiser4/entd.c b/fs/reiser4/entd.c
index bff4bfa..c254e71 100644
--- a/fs/reiser4/entd.c
+++ b/fs/reiser4/entd.c
@@ -303,6 +303,7 @@ int write_page_by_ent(struct page *page, struct writeback_control *wbc)
* write it - it will remain dirty
*/
set_page_dirty_notag(page);
+ account_page_redirty(page);
/*
* pin inode in memory, unlock page, entd_flush will iput. We can not
--
2.6.2
--
To unsubscribe from this list: send the line "unsubscribe reiserfs-devel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic