From 469f9d2fc405b0508e6cf1b4b5bbcadfc82064e5 Mon Sep 17 00:00:00 2001 From: "Dr. David Alan Gilbert" Date: Fri, 4 Jan 2019 18:23:00 +0000 Subject: 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 Signed-off-by: Stefan Hajnoczi Reviewed-by: Masayoshi Mizuma Signed-off-by: Dr. David Alan Gilbert --- tools/virtiofsd/fuse_i.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools/virtiofsd/fuse_i.h') 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); -- cgit v1.2.3