[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 1/4] virtiofsd: process requests in a thread poo
From: |
Stefan Hajnoczi |
Subject: |
Re: [Qemu-devel] [PATCH 1/4] virtiofsd: process requests in a thread pool |
Date: |
Wed, 7 Aug 2019 10:35:10 +0100 |
User-agent: |
Mutt/1.12.0 (2019-05-25) |
On Mon, Aug 05, 2019 at 01:02:31PM +0100, Dr. David Alan Gilbert wrote:
> * Stefan Hajnoczi (address@hidden) 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