From: Chrissie Caulfield <ccaulfie@redhat.com>
To: LVM general discussion and development <linux-lvm@redhat.com>
Subject: Re: [linux-lvm] Signal handling in clvmd
Date: Tue, 24 Mar 2009 11:49:53 +0000 [thread overview]
Message-ID: <49C8C8E1.9060707@redhat.com> (raw)
In-Reply-To: <1cafab770903231005x4bb8b64cmc0919cac9190d8bc@mail.gmail.com>
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
prev parent reply other threads:[~2009-03-24 11:49 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-03-23 17:05 [linux-lvm] Signal handling in clvmd Xinwei Hu
2009-03-24 11:49 ` Chrissie Caulfield [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=49C8C8E1.9060707@redhat.com \
--to=ccaulfie@redhat.com \
--cc=linux-lvm@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.