On Thu, Dec 12, 2019 at 04:38:58PM +0000, Dr. David Alan Gilbert (git) wrote: > From: piaojun <[email protected]> > > 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 <[email protected]> > Suggested-by: Stefan Hajnoczi <[email protected]> > --- > tools/virtiofsd/buffer.c | 39 +++++++++++++++++++++++++++++++++++++++ > 1 file changed, 39 insertions(+)
Reviewed-by: Daniel P. Berrangé <[email protected]> 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 :|
