aboutsummaryrefslogtreecommitdiff
path: root/block/nfs.c
diff options
context:
space:
mode:
authorMatthew Booth <mbooth@redhat.com>2014-04-29 16:03:30 +0100
committerKevin Wolf <kwolf@redhat.com>2014-04-30 16:34:16 +0200
commit838ef602498b8d1985a231a06f5e328e2946a81d (patch)
tree65f7754fd1d5fd3a74890ced4be2f52c904329af /block/nfs.c
parentb69cdef876340624bb40a2054d14f298471a40a6 (diff)
downloadqemu-838ef602498b8d1985a231a06f5e328e2946a81d.zip
qemu-838ef602498b8d1985a231a06f5e328e2946a81d.tar.gz
qemu-838ef602498b8d1985a231a06f5e328e2946a81d.tar.bz2
curl: Eliminate unnecessary use of curl_multi_socket_all
curl_multi_socket_all is a deprecated catch-all which checks for activities on all open curl sockets. We have enough information from the event loop to check only the sockets with activity. This change removes use of curl_multi_socket_all in favour of curl_multi_socket_action called with the relevant handle. At the same time, it also ensures that the driver only checks for completion of read operations after reading from a socket, rather than both reading and writing. Signed-off-by: Matthew Booth <mbooth@redhat.com> Tested-by: Richard W.M. Jones <rjones@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'block/nfs.c')
0 files changed, 0 insertions, 0 deletions