John Baldwin 778ce4f297 Return the correct status when a partially completed request is cancelled.
After the previous changes to fix requests on blocking sockets to complete
across multiple operations, an edge case exists where a request can be
cancelled after it has partially completed.  POSIX doesn't appear to
dictate exactly how to handle this case, but in general I feel that
aio_cancel() should arrange to cancel any request it can, but that any
partially completed requests should return a partial completion rather
than ECANCELED.  To that end, fix the socket AIO cancellation routine to
return a short read/write if a partially completed request is cancelled
rather than ECANCELED.

Sponsored by:	Chelsio Communications
2016-05-24 21:09:05 +00:00
..
2016-03-21 21:38:35 +00:00
2015-04-22 14:38:58 +00:00
2016-02-23 23:37:10 +00:00
2016-04-15 17:45:12 +00:00
2015-01-22 11:12:42 +00:00
2016-04-26 12:29:47 +00:00
2015-11-19 05:50:22 +00:00
2016-05-04 13:48:59 +00:00
2016-03-21 21:38:35 +00:00
2016-03-21 21:38:35 +00:00
2016-04-29 22:15:33 +00:00
2015-03-17 14:16:50 +00:00
2016-04-14 17:07:26 +00:00
2016-04-29 21:54:28 +00:00