[dm-devel] [PATCH 6/6] multipathd: Remove a busy-waiting loop

Bart Van Assche bart.vanassche at sandisk.com
Tue Aug 16 20:11:47 UTC 2016


On 08/15/2016 11:31 PM, Hannes Reinecke wrote:
> Makes one wonder: what happens to the waitevent threads?
> We won't be waiting for them after applying this patch, right?
> So why did we ever had this busy loop here?
> Ben?
>
> (And while we're at the subject: can't we drop the waitevent threads
> altogether? We're listening to uevents nowadays, so we should be
> notified if something happened to the device-mapper tables. Which should
> make the waitevent threads unnecessary, right?)

Hello Hannes,

Maybe this is not what you had in mind, but would you agree with the 
attached two patches?

Thanks,

Bart.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-libmultipath-waiter.c-Call-pthread_join-upon-thread-.patch
Type: text/x-patch
Size: 1288 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/dm-devel/attachments/20160816/bae56cd6/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-libmultipath-checkers-tur-Call-pthread_join-upon-thr.patch
Type: text/x-patch
Size: 3686 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/dm-devel/attachments/20160816/bae56cd6/attachment-0001.bin>


More information about the dm-devel mailing list