aboutsummaryrefslogtreecommitdiff
path: root/tools/virtiofsd/fuse_i.h
diff options
context:
space:
mode:
authorStefan Hajnoczi <stefanha@redhat.com>2019-08-01 17:54:09 +0100
committerDr. David Alan Gilbert <dgilbert@redhat.com>2020-01-23 16:41:37 +0000
commit951b3120dbc971f08681e1d860360e4a1e638902 (patch)
tree221603d41f0c6a7ac09059b0ab9f4e1863c7e4fb /tools/virtiofsd/fuse_i.h
parent28f7a3b026f231bfe8de5fed6a18a8d27b1dfcee (diff)
virtiofsd: add --thread-pool-size=NUM option
Add an option to control the size of the thread pool. Requests are now processed in parallel by default. Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com> Reviewed-by: Daniel P. Berrangé <berrange@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.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.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/virtiofsd/fuse_i.h b/tools/virtiofsd/fuse_i.h
index 1447d86866..4e47e5880d 100644
--- a/tools/virtiofsd/fuse_i.h
+++ b/tools/virtiofsd/fuse_i.h
@@ -72,6 +72,7 @@ struct fuse_session {
int vu_listen_fd;
int vu_socketfd;
struct fv_VuDev *virtio_dev;
+ int thread_pool_size;
};
struct fuse_chan {