diff options
author | Jens Axboe <axboe@suse.de> | 2006-04-02 23:04:46 +0200 |
---|---|---|
committer | Jens Axboe <axboe@suse.de> | 2006-04-02 23:04:46 +0200 |
commit | 4f6f0bd2ffa4e31c3524f5e65c84a29b6ab73307 (patch) | |
tree | 682ab1b41c3ee799d37bfa1874c79ae92b3755fd /include/linux/pipe_fs_i.h | |
parent | 53cd9ae886273d6c2b8ba4aa63d6cd6b1217b57f (diff) | |
download | lwn-4f6f0bd2ffa4e31c3524f5e65c84a29b6ab73307.tar.gz lwn-4f6f0bd2ffa4e31c3524f5e65c84a29b6ab73307.zip |
[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 'include/linux/pipe_fs_i.h')
-rw-r--r-- | include/linux/pipe_fs_i.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/pipe_fs_i.h b/include/linux/pipe_fs_i.h index d218fc729319..32865004751c 100644 --- a/include/linux/pipe_fs_i.h +++ b/include/linux/pipe_fs_i.h @@ -9,7 +9,6 @@ struct pipe_buffer { struct page *page; unsigned int offset, len; struct pipe_buf_operations *ops; - unsigned int stolen; }; struct pipe_buf_operations { |