projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.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
|
blame
|
history
diff --git
a/fs/splice.c
b/fs/splice.c
index bfa42a277bb874ac94a34db4d3c7f593afc5410c..b450acdff3975e86713e87df718e57ca74f0d7b9 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)) {