]> git.karo-electronics.de Git - linux-beck.git/commit
pipe: add support for shrinking and growing pipes
authorJens Axboe <jens.axboe@oracle.com>
Thu, 20 May 2010 08:43:18 +0000 (10:43 +0200)
committerJens Axboe <jens.axboe@oracle.com>
Fri, 21 May 2010 19:12:40 +0000 (21:12 +0200)
commit35f3d14dbbc58447c61e38a162ea10add6b31dc7
tree3e03cd540b7dcdac82195c4e76862c0ce6daaaf0
parent3d42b3612891baecf709d93f28655a6882a65d41
pipe: add support for shrinking and growing pipes

This patch adds F_GETPIPE_SZ and F_SETPIPE_SZ fcntl() actions for
growing and shrinking the size of a pipe and adjusts pipe.c and splice.c
(and relay and network splice) usage to work with these larger (or smaller)
pipes.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
fs/fcntl.c
fs/pipe.c
fs/splice.c
include/linux/fcntl.h
include/linux/pipe_fs_i.h
include/linux/splice.h
kernel/relay.c
kernel/trace/trace.c
net/core/skbuff.c