Commit c7f21e4f authored by Jens Axboe's avatar Jens Axboe

[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: default avatarJens Axboe <axboe@suse.de>
parent 67644726
...@@ -501,6 +501,7 @@ find_page: ...@@ -501,6 +501,7 @@ find_page:
} else if (ret) } else if (ret)
goto out; goto out;
mark_page_accessed(page);
balance_dirty_pages_ratelimited(mapping); balance_dirty_pages_ratelimited(mapping);
out: out:
if (!(buf->flags & PIPE_BUF_FLAG_STOLEN)) { if (!(buf->flags & PIPE_BUF_FLAG_STOLEN)) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment