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>
Thu, 20 May 2010 08:43:18 +0000 (10:43 +0200)
commit1d84f9b24b7ba827baa14ca8ebcf0ef30f4d440b
tree1d9978898316d2477fbd510a2727e587a3c585c2
parentf72caf7e496465182eeda842ac66a5e75404ddf1
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