aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/block/cciss_scsi.c
diff options
context:
space:
mode:
authorJens Axboe <jens.axboe@oracle.com>2008-02-20 10:34:51 +0100
committerJens Axboe <axboe@carl.home.kernel.dk>2008-03-04 11:14:39 +0100
commit02cf01aea5af7a4d1a38045712fe11bffcc206b0 (patch)
tree28a5817e0bb4aaf174c9d8a87f34a8aefd754aa6 /drivers/block/cciss_scsi.c
parentblock: fix kernel-docbook parameters and files (diff)
downloadlinux-dev-02cf01aea5af7a4d1a38045712fe11bffcc206b0.tar.xz
linux-dev-02cf01aea5af7a4d1a38045712fe11bffcc206b0.zip
splice: only return -EAGAIN if there's hope of more data
sys_tee() currently is a bit eager in returning -EAGAIN, it may do so even if we don't have a chance of anymore data becoming available. So improve the logic and only return -EAGAIN if we have an attached writer to the input pipe. Reported by Johann Felix Soden <johfel@gmx.de> and Patrick McManus <mcmanus@ducksong.com>. Tested-by: Johann Felix Soden <johfel@users.sourceforge.net> Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions