]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit30856e1b70d445a466b26e9e318ce5e2c683fc0e
tree7630809d75149b0053dcc45ad34e95d5506e88b3
parenteb519286c93f0215c95ccc2ca86ebed9835d519b
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