[Virtio-fs] [PATCH 1/4] virtiofsd: process requests in a thread pool
Stefan Hajnoczi
stefanha at redhat.com
Wed Aug 7 09:35:10 UTC 2019
On Mon, Aug 05, 2019 at 01:02:31PM +0100, Dr. David Alan Gilbert wrote:
> * Stefan Hajnoczi (stefanha at 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",
> > + __func__, elem->index, out_num,
> > + out_len, req->bad_in_num, req->bad_out_num);
>
> Are the debug/logging calls thread safe?
Yes, vsyslog(3) and vfprintf(3) are thread-safe.
Stefan
More information about the Virtio-fs
mailing list