aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJens Axboe <axboe@suse.de>2006-04-10 03:01:01 -0400
committerJens Axboe <axboe@suse.de>2006-04-10 03:01:01 -0400
commitc7f21e4f5a3d4e378e4d453b2be209dcfd1bb964 (patch)
tree2a8ee86b13c328a3df94ea3176e1691f411bdafb
parent67644726317a8274be4a3d0ef85b9ccebaa90304 (diff)
[PATCH] splice: mark the io page as accessed
We should do that, since we do the LRU manipulation ourselves now. Suggested by Nick Piggin. Signed-off-by: Jens Axboe <axboe@suse.de>
-rw-r--r--fs/splice.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/splice.c b/fs/splice.c
index bfa42a277bb8..b450acdff397 100644
--- a/fs/splice.c
+++ b/fs/splice.c
@@ -501,6 +501,7 @@ find_page:
501 } else if (ret) 501 } else if (ret)
502 goto out; 502 goto out;
503 503
504 mark_page_accessed(page);
504 balance_dirty_pages_ratelimited(mapping); 505 balance_dirty_pages_ratelimited(mapping);
505out: 506out:
506 if (!(buf->flags & PIPE_BUF_FLAG_STOLEN)) { 507 if (!(buf->flags & PIPE_BUF_FLAG_STOLEN)) {