On Thu, Dec 12, 2019 at 04:38:58PM +0000, Dr. David Alan Gilbert (git) wrote: > From: piaojun <piao...@huawei.com> > > Define fuse_buf_writev() which use pwritev and writev to improve io > bandwidth. Especially, the src bufs with 0 size should be skipped as > their mems are not *block_size* aligned which will cause writev failed > in direct io mode. > > Signed-off-by: Jun Piao <piao...@huawei.com> > Suggested-by: Stefan Hajnoczi <stefa...@redhat.com> > --- > tools/virtiofsd/buffer.c | 39 +++++++++++++++++++++++++++++++++++++++ > 1 file changed, 39 insertions(+)
Reviewed-by: Daniel P. Berrangé <berra...@redhat.com> Regards, Daniel -- |: https://berrange.com -o- https://www.flickr.com/photos/dberrange :| |: https://libvirt.org -o- https://fstop138.berrange.com :| |: https://entangle-photo.org -o- https://www.instagram.com/dberrange :|