]> git.baikalelectronics.ru Git - kernel.git/commit
tracing: Do not block on splice if either file or splice NONBLOCK flag is set
authorSteven Rostedt (Red Hat) <rostedt@goodmis.org>
Fri, 1 Mar 2013 01:03:06 +0000 (20:03 -0500)
committerSteven Rostedt <rostedt@goodmis.org>
Fri, 15 Mar 2013 04:34:48 +0000 (00:34 -0400)
commit98d7fef4003ce12abfeacc574308d84776603c15
tree56aa2f0cc1d00fbc74f70b84b1c5f2eabe53cb19
parent93152e90f617bc85923efc940bc669fe5bd961da
tracing: Do not block on splice if either file or splice NONBLOCK flag is set

Currently only the splice NONBLOCK flag is checked to determine if
the splice read should block or not. But the file descriptor NONBLOCK
flag also needs to be checked.

Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
kernel/trace/trace.c