diff options
author | Dr. David Alan Gilbert <dgilbert@redhat.com> | 2019-01-04 18:23:00 +0000 |
---|---|---|
committer | Dr. David Alan Gilbert <dgilbert@redhat.com> | 2020-01-23 16:41:36 +0000 |
commit | 469f9d2fc405b0508e6cf1b4b5bbcadfc82064e5 (patch) | |
tree | 09314a7b47ef5e99696d9b1ec6b8e7df810d02b1 /tools/virtiofsd/fuse_i.h | |
parent | 25dae28c58d7e706b5d5db99042c9db3cef2e657 (diff) |
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>
Diffstat (limited to 'tools/virtiofsd/fuse_i.h')
-rw-r--r-- | tools/virtiofsd/fuse_i.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/virtiofsd/fuse_i.h b/tools/virtiofsd/fuse_i.h index 45995f3246..a20854f1c4 100644 --- a/tools/virtiofsd/fuse_i.h +++ b/tools/virtiofsd/fuse_i.h @@ -100,7 +100,7 @@ int fuse_send_reply_iov_nofree(fuse_req_t req, int error, struct iovec *iov, void fuse_free_req(fuse_req_t req); void fuse_session_process_buf_int(struct fuse_session *se, - const struct fuse_buf *buf, + struct fuse_bufvec *bufv, struct fuse_chan *ch); |