summaryrefslogtreecommitdiff
path: root/fs/efs
diff options
context:
space:
mode:
authorJason Wang <jasowang@redhat.com>2010-09-14 19:53:05 +0400
committerMichael S. Tsirkin <mst@redhat.com>2010-10-05 15:33:43 +0400
commite0e9b406470b8dd75a115cf82c4791f41615c4c3 (patch)
treed31f3ee226e91854bc97d948a30b80c18b21fa47 /fs/efs
parenta00eac0c459abecb539fb2a2abd3122dd7ca5d4a (diff)
downloadlinux-e0e9b406470b8dd75a115cf82c4791f41615c4c3.tar.xz
vhost: max s/g to match qemu
Qemu supports up to UIO_MAXIOV s/g so we have to match that because guest drivers may rely on this. Allocate indirect and log arrays dynamically to avoid using too much contigious memory and make the length of hdr array to match the header length since each iovec entry has a least one byte. Test with copying large files w/ and w/o migration in both linux and windows guests. Signed-off-by: Jason Wang <jasowang@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'fs/efs')
0 files changed, 0 insertions, 0 deletions