commit | 83f75c26e8e791311900d0e2a4cc9379abedb85c | [log] [tgz] |
---|---|---|
author | Paolo Bonzini <pbonzini@redhat.com> | Wed Mar 27 17:36:31 2013 +0100 |
committer | Paolo Bonzini <pbonzini@redhat.com> | Wed Apr 17 11:43:45 2013 +0200 |
tree | 691a4afcbe0ca292576057bd5b67691301082db1 | |
parent | f48869ad2825b640911666bb091cedb1e1d6ad5e [diff] |
iov: handle partial writes from sendmsg and recvmsg Partial writes can still happen in sendmsg and recvmsg, if a signal is received in the middle of a write. To handle this, retry the operation with a new offset/bytes pair. Reviewed-by: Juan Quintela <quintela@redhat.com> Reviewed-by: Orit Wassermann <owasserm@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>