aboutsummaryrefslogtreecommitdiffstats
path: root/fs/pipe.c
diff options
context:
space:
mode:
authorJens Axboe <axboe@suse.de>2006-04-02 17:04:46 -0400
committerJens Axboe <axboe@suse.de>2006-04-02 17:04:46 -0400
commit4f6f0bd2ffa4e31c3524f5e65c84a29b6ab73307 (patch)
tree682ab1b41c3ee799d37bfa1874c79ae92b3755fd /fs/pipe.c
parent53cd9ae886273d6c2b8ba4aa63d6cd6b1217b57f (diff)
[PATCH] splice: improve writeback and clean up page stealing
By cleaning up the writeback logic (killing write_one_page() and the manual set_page_dirty()), we can get rid of ->stolen inside the pipe_buffer and just keep it local in pipe_to_file(). This also adds dirty page balancing logic and O_SYNC handling. Signed-off-by: Jens Axboe <axboe@suse.de>
Diffstat (limited to 'fs/pipe.c')
-rw-r--r--fs/pipe.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/pipe.c b/fs/pipe.c
index 109a102c150d..5093408746b8 100644
--- a/fs/pipe.c
+++ b/fs/pipe.c
@@ -124,7 +124,6 @@ static void anon_pipe_buf_unmap(struct pipe_inode_info *info, struct pipe_buffer
124static int anon_pipe_buf_steal(struct pipe_inode_info *info, 124static int anon_pipe_buf_steal(struct pipe_inode_info *info,
125 struct pipe_buffer *buf) 125 struct pipe_buffer *buf)
126{ 126{
127 buf->stolen = 1;
128 return 0; 127 return 0;
129} 128}
130 129