[dm-devel] [PATCH] multipathd: avoid crash in uevent_cleanup()

lixiaokeng lixiaokeng at huawei.com
Thu Feb 4 01:40:34 UTC 2021



On 2021/2/3 21:57, Martin Wilck wrote:
>> If exit() before all pthread_cancel in child of 0.7.7, there is no
>> any crash.
> What do you mean with "exit() before all pthread_cancel"? If this
> happens on pthread_cancel(), and you don't call that function, this
> would actually be expected.

When running_state is DAEMON_SHUTDOWN, break while then _exit(0). But
is is not a great method.

Regards,
Lixiaokeng




More information about the dm-devel mailing list