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