splice: add SPLICE_F_NONBLOCK flag
authorLinus Torvalds <torvalds@g5.osdl.org>
Sun, 2 Apr 2006 19:46:35 +0000 (12:46 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Sun, 2 Apr 2006 19:46:35 +0000 (12:46 -0700)
commit29e350944fdc2dfca102500790d8ad6d6ff4f69d
tree7630809d75149b0053dcc45ad34e95d5506e88b3
parentb45e516f701e0fc81fb3dbd1ba9db35f991a4465
splice: add SPLICE_F_NONBLOCK flag

It doesn't make the splice itself necessarily nonblocking (because the
actual file descriptors that are spliced from/to may block unless they
have the O_NONBLOCK flag set), but it makes the splice pipe operations
nonblocking.

Signed-off-by: Linus Torvalds <torvalds@osdl.org>
fs/splice.c
include/linux/pipe_fs_i.h