Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c7f21e4f authored by Jens Axboe's avatar Jens Axboe
Browse files

[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
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -501,6 +501,7 @@ static int pipe_to_file(struct pipe_inode_info *info, struct pipe_buffer *buf,
	} else if (ret)
		goto out;

	mark_page_accessed(page);
	balance_dirty_pages_ratelimited(mapping);
out:
	if (!(buf->flags & PIPE_BUF_FLAG_STOLEN)) {