Re: [dm-devel] [PATCH 05/35] libmultipath: improve cleanup of uevent queues on exit

2021-09-16 Thread Martin Wilck
On Wed, 2021-09-15 at 17:20 -0500, Benjamin Marzinski wrote: > On Fri, Sep 10, 2021 at 01:40:50PM +0200, mwi...@suse.com wrote: > > From: Martin Wilck > > > > uevents listed on merge_node must be cleaned up, too. uevents > > cancelled while being serviced and temporary queues, likewise. > > The g

Re: [dm-devel] [PATCH 05/35] libmultipath: improve cleanup of uevent queues on exit

2021-09-16 Thread Benjamin Marzinski
On Thu, Sep 16, 2021 at 09:10:57AM +0200, Martin Wilck wrote: > On Wed, 2021-09-15 at 17:20 -0500, Benjamin Marzinski wrote: > > On Fri, Sep 10, 2021 at 01:40:50PM +0200, mwi...@suse.com wrote: > > > From: Martin Wilck > > > > > > uevents listed on merge_node must be cleaned up, too. uevents > >

Re: [dm-devel] [PATCH 05/35] libmultipath: improve cleanup of uevent queues on exit

2021-09-15 Thread Benjamin Marzinski
On Fri, Sep 10, 2021 at 01:40:50PM +0200, mwi...@suse.com wrote: > From: Martin Wilck > > uevents listed on merge_node must be cleaned up, too. uevents > cancelled while being serviced and temporary queues, likewise. > The global uevq must be cleaned out in the uevent listener thread, > because i

[dm-devel] [PATCH 05/35] libmultipath: improve cleanup of uevent queues on exit

2021-09-10 Thread mwilck
From: Martin Wilck uevents listed on merge_node must be cleaned up, too. uevents cancelled while being serviced and temporary queues, likewise. The global uevq must be cleaned out in the uevent listener thread, because it might have added events after the dispatcher thread had already finished.