mirror of
https://github.com/FEX-Emu/linux.git
synced 2024-12-12 02:40:53 +00:00
[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>
This commit is contained in:
parent
6764472631
commit
c7f21e4f5a
@ -501,6 +501,7 @@ find_page:
|
||||
} else if (ret)
|
||||
goto out;
|
||||
|
||||
mark_page_accessed(page);
|
||||
balance_dirty_pages_ratelimited(mapping);
|
||||
out:
|
||||
if (!(buf->flags & PIPE_BUF_FLAG_STOLEN)) {
|
||||
|
Loading…
Reference in New Issue
Block a user