[Libguestfs] [PATCH nbdkit 5/9] cache: Allow this filter to serve requests in parallel.

Eric Blake eblake at redhat.com
Mon Dec 31 23:18:25 UTC 2018


On 12/28/18 12:45 PM, Richard W.M. Jones wrote:
> Make the implicit lock explicit, and hold it around blk_* operations.
> This allows us to relax the thread model for the filter to
> NBDKIT_THREAD_MODEL_PARALLEL.
> ---
>  filters/cache/blk.h   |  7 ++++++
>  filters/cache/cache.c | 57 +++++++++++++++++++++++++++++++------------
>  2 files changed, 49 insertions(+), 15 deletions(-)

Nice.

-- 
Eric Blake, Principal Software Engineer
Red Hat, Inc.           +1-919-301-3226
Virtualization:  qemu.org | libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libguestfs/attachments/20181231/e4b06c39/attachment.sig>


More information about the Libguestfs mailing list