xfs
[Top] [All Lists]

[PATCH 1/7] iomap: remove superflous mark_page_accessed from iomap_write

To: xfs@xxxxxxxxxxx
Subject: [PATCH 1/7] iomap: remove superflous mark_page_accessed from iomap_write_actor
From: Christoph Hellwig <hch@xxxxxx>
Date: Sat, 13 Aug 2016 16:42:55 -0700
Delivered-to: xfs@xxxxxxxxxxx
In-reply-to: <1471131781-14107-1-git-send-email-hch@xxxxxx>
References: <1471131781-14107-1-git-send-email-hch@xxxxxx>
This catches up with commit  2457ae ("mm: non-atomically mark page
accessed during page cache allocation where possible"), which
moved the initial access marking into the pagecache allocator.

Signed-off-by: Christoph Hellwig <hch@xxxxxx>
---
 fs/iomap.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/fs/iomap.c b/fs/iomap.c
index 48141b8..f39c318 100644
--- a/fs/iomap.c
+++ b/fs/iomap.c
@@ -199,7 +199,6 @@ again:
                pagefault_enable();
 
                flush_dcache_page(page);
-               mark_page_accessed(page);
 
                status = iomap_write_end(inode, pos, bytes, copied, page);
                if (unlikely(status < 0))
-- 
2.1.4

<Prev in Thread] Current Thread [Next in Thread>