virtiofsd: Plumb fuse_bufvec through to do_write_buf
authorDr. David Alan Gilbert <dgilbert@redhat.com>
Fri, 4 Jan 2019 18:23:00 +0000 (18:23 +0000)
committerDr. David Alan Gilbert <dgilbert@redhat.com>
Thu, 23 Jan 2020 16:41:36 +0000 (16:41 +0000)
commit469f9d2fc405b0508e6cf1b4b5bbcadfc82064e5
tree09314a7b47ef5e99696d9b1ec6b8e7df810d02b1
parent25dae28c58d7e706b5d5db99042c9db3cef2e657
virtiofsd: Plumb fuse_bufvec through to do_write_buf

Let fuse_session_process_buf_int take a fuse_bufvec * instead of a
fuse_buf;  and then through to do_write_buf - where in the best
case it can pass that straight through to op.write_buf without copying
(other than skipping a header).

Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Masayoshi Mizuma <m.mizuma@jp.fujitsu.com>
Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
tools/virtiofsd/fuse_i.h
tools/virtiofsd/fuse_lowlevel.c
tools/virtiofsd/fuse_virtio.c