Re: [dm-devel] [PATCH v3 11/21] libmultipath: protect racy libdevmapper calls with a mutex

2020-10-19 Thread Benjamin Marzinski
On Fri, Oct 16, 2020 at 12:43:19PM +0200, mwi...@suse.com wrote: > From: Martin Wilck > > dm_udev_wait() and dm_task_run() may access global / static state > in libdevmapper. They need to be protected by a lock in in our > multithreaded library. > > The modified call sequence requires fixing

[dm-devel] [PATCH v3 11/21] libmultipath: protect racy libdevmapper calls with a mutex

2020-10-16 Thread mwilck
From: Martin Wilck dm_udev_wait() and dm_task_run() may access global / static state in libdevmapper. They need to be protected by a lock in in our multithreaded library. The modified call sequence requires fixing the dmevents test: devmapper.c must be added to dmevents-test_OBJDEPS to catch