Re: Signal handling in clvmd

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Xinwei Hu wrote:
> Hi all,
> 
>   I'm running into a problem that clvmd sometimes take a long time to shutdown.
> The clvmd itself is waiting for select to timeout in main_loop. But
> since the SIGINT
> (or SIGTERM) is handled in other threads, select is not interrupted as expected.
> 
>   The attached patch tries to mask SIGINT and SIGTERM in all other threads,
> to make sure the signal is properly handled in the main_loop. This
> helps to reduce
> the chance that we are waiting meaninglessly.
> 
>   Would you please kindly review the patch ?

Thank you,

That patch looks good and I've committed it into CVS.

Chrissie

_______________________________________________
linux-lvm mailing list
linux-lvm@redhat.com
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

[Index of Archives]     [Gluster Users]     [Kernel Development]     [Linux Clusters]     [Device Mapper]     [Security]     [Bugtraq]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]

  Powered by Linux