projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6764472
)
[PATCH] splice: mark the io page as accessed
author
Jens Axboe
<axboe@suse.de>
Mon, 10 Apr 2006 07:01:01 +0000
(09:01 +0200)
committer
Jens Axboe
<axboe@suse.de>
Mon, 10 Apr 2006 07:01:01 +0000
(09:01 +0200)
We should do that, since we do the LRU manipulation ourselves now. Suggested
by Nick Piggin.
Signed-off-by: Jens Axboe <axboe@suse.de>
fs/splice.c
patch
|
blob
|
history
diff --git
a/fs/splice.c
b/fs/splice.c
index
bfa42a2
..
b450acd
100644
(file)
--- a/
fs/splice.c
+++ b/
fs/splice.c
@@
-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)) {