commit | c7f21e4f5a3d4e378e4d453b2be209dcfd1bb964 | [log] [tgz] |
---|---|---|
author | Jens Axboe <axboe@suse.de> | Mon Apr 10 09:01:01 2006 +0200 |
committer | Jens Axboe <axboe@suse.de> | Mon Apr 10 09:01:01 2006 +0200 |
tree | 2a8ee86b13c328a3df94ea3176e1691f411bdafb | |
parent | 67644726317a8274be4a3d0ef85b9ccebaa90304 [diff] [blame] |
[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>
diff --git a/fs/splice.c b/fs/splice.c index bfa42a2..b450acd 100644 --- a/fs/splice.c +++ b/fs/splice.c
@@ -501,6 +501,7 @@ } else if (ret) goto out; + mark_page_accessed(page); balance_dirty_pages_ratelimited(mapping); out: if (!(buf->flags & PIPE_BUF_FLAG_STOLEN)) {