Re: [Qemu-devel] [PATCH 1/4] virtiofsd: process requests in a thread pool

2019-08-07 Thread Stefan Hajnoczi
On Mon, Aug 05, 2019 at 01:02:31PM +0100, Dr. David Alan Gilbert wrote: > * Stefan Hajnoczi (stefa...@redhat.com) wrote: > > +if (se->debug) > > +fuse_debug("%s: elem %d: with %d out desc of length %zd" > > + " bad_in_num=%u bad_out_num=%u\n", > > +

Re: [Qemu-devel] [PATCH 1/4] virtiofsd: process requests in a thread pool

2019-08-05 Thread Dr. David Alan Gilbert
* Stefan Hajnoczi (stefa...@redhat.com) wrote: > Introduce a thread pool so that fv_queue_thread() just pops > VuVirtqElements and hands them to the thread pool. For the time being > only one worker thread is allowed since passthrough_ll.c is not > thread-safe yet. Future patches will lift this r

[Qemu-devel] [PATCH 1/4] virtiofsd: process requests in a thread pool

2019-08-01 Thread Stefan Hajnoczi
Introduce a thread pool so that fv_queue_thread() just pops VuVirtqElements and hands them to the thread pool. For the time being only one worker thread is allowed since passthrough_ll.c is not thread-safe yet. Future patches will lift this restriction so that multiple FUSE requests can be proces