]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] splice: improve writeback and clean up page stealing
authorJens Axboe <axboe@suse.de>
Sun, 2 Apr 2006 21:04:46 +0000 (23:04 +0200)
committerJens Axboe <axboe@suse.de>
Sun, 2 Apr 2006 21:04:46 +0000 (23:04 +0200)
commit1b4e5a053b6fb61b4af640115aaac15d07626acd
tree682ab1b41c3ee799d37bfa1874c79ae92b3755fd
parentd8c9dc5280e95c8ecdf09989e76302b8466acbc9
[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>
fs/pipe.c
fs/splice.c
include/linux/pipe_fs_i.h