]> git.proxmox.com Git - mirror_qemu.git/commit
block/nfs: try to avoid the bounce buffer in pwritev
authorPeter Lieven <pl@kamp.de>
Fri, 17 Feb 2017 16:39:01 +0000 (17:39 +0100)
committerJeff Cody <jcody@redhat.com>
Fri, 24 Feb 2017 17:38:35 +0000 (12:38 -0500)
commitef503a841743ec796af3418424dee7e86275b788
treeb75f7990341f0aabd5bae562b6c0095080e5ba81
parent69785a229d5d46961cc7579027d7350018de1ca8
block/nfs: try to avoid the bounce buffer in pwritev

if the passed qiov contains exactly one iov we can
pass the buffer directly.

Signed-off-by: Peter Lieven <pl@kamp.de>
Reviewed-by: Jeff Cody <jcody@redhat.com>
Message-id: 1487349541-10201-3-git-send-email-pl@kamp.de
Signed-off-by: Jeff Cody <jcody@redhat.com>
block/nfs.c