[PATCH] introduce a "kernel-internal pipe object" abstraction
authorIngo Molnar <mingo@elte.hu>
Mon, 10 Apr 2006 13:18:35 +0000 (15:18 +0200)
committerJens Axboe <axboe@suse.de>
Mon, 10 Apr 2006 13:18:35 +0000 (15:18 +0200)
commit3a326a2ce88e71d00ac0d133e314a3342a7709f8
tree3a3cf55be19311c04d195e37baec9f49c4015b18
parent0b749ce3802428007a37870eb51ba3c0bdf90857
[PATCH] introduce a "kernel-internal pipe object" abstraction

separate out the 'internal pipe object' abstraction, and make it
usable to splice. This cleans up and fixes several aspects of the
internal splice APIs and the pipe code:

 - pipes: the allocation and freeing of pipe_inode_info is now more symmetric
   and more streamlined with existing kernel practices.

 - splice: small micro-optimization: less pointer dereferencing in splice
   methods

Signed-off-by: Ingo Molnar <mingo@elte.hu>

Update XFS for the ->splice_read/->splice_write changes.

Signed-off-by: Jens Axboe <axboe@suse.de>
fs/fifo.c
fs/pipe.c
fs/splice.c
fs/xfs/linux-2.6/xfs_file.c
fs/xfs/linux-2.6/xfs_lrw.c
fs/xfs/linux-2.6/xfs_lrw.h
fs/xfs/linux-2.6/xfs_vnode.h
include/linux/fs.h
include/linux/pipe_fs_i.h