Catch EAGAIN from sendfile and retry - this has fixed an intermittent issue in our stress test where VDI export failed randomly with an EAGAIN Unix exception.
All the examples of using sendfile I've found do some kind of retry when getting the EAGAIN error.
Catch EAGAIN from sendfile and retry - this has fixed an intermittent issue in our stress test where VDI export failed randomly with an EAGAIN Unix exception.
All the examples of using sendfile I've found do some kind of retry when getting the EAGAIN error.
Signed-off-by: Gabor Igloi gabor.igloi@citrix.com