[Libguestfs] [PATCH nbdkit 5/9] cache: Allow this filter to serve requests in parallel.
Richard W.M. Jones
rjones at redhat.com
Tue Jan 1 10:00:30 UTC 2019
On Mon, Dec 31, 2018 at 05:18:25PM -0600, Eric Blake wrote:
> 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.
Thanks - later I made almost exactly the same change to the cow
filter. I have now pushed both.
Rich.
--
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
virt-p2v converts physical machines to virtual machines. Boot with a
live CD or over the network (PXE) and turn machines into KVM guests.
http://libguestfs.org/virt-v2v
More information about the Libguestfs
mailing list