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

Bart Van Assche bart.vanassche at sandisk.com
Wed Aug 17 19:57:15 UTC 2016


On 08/17/2016 12:36 PM, Dragan Stancevic wrote:
> Acked-by: dragan.stancevic at canonical.com
> <mailto:dragan.stancevic at canonical.com>
>
> I agree with your patch, I have been tracking an issue where multipathd
> dumps core on the exit path just past the treads being canceled. Your
> patch is very similar to mine (minus nuking the depth) that I was going
> to send out to a user to test with. The checker thread accesses a valid
> pointer with garbage values....

Hello Dragan,

When I prepared my patch I overlooked that multipathd creates most 
threads as detached threads. So I started testing the three attached 
patches on my setup. It would be appreciated if you could have a look at 
these patches.

Thanks,

Bart.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-multipathd-Change-four-threads-from-detached-into-jo.patch
Type: text/x-patch
Size: 1125 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/dm-devel/attachments/20160817/d764ac63/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-libmultipath-checkers-tur-Introduce-checker_thread_r.patch
Type: text/x-patch
Size: 2135 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/dm-devel/attachments/20160817/d764ac63/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-libmultipath-checkers-tur-Fix-race-related-to-thread.patch
Type: text/x-patch
Size: 2385 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/dm-devel/attachments/20160817/d764ac63/attachment-0002.bin>


More information about the dm-devel mailing list