From: David Disseldorp <ddiss@suse.de>
To: Loic Dachary <loic@dachary.org>
Cc: ceph-devel <ceph-devel@vger.kernel.org>
Subject: Re: udev remove events to mark OSD down/out on disk-pull
Date: Wed, 16 Nov 2016 13:57:11 +0100 [thread overview]
Message-ID: <20161116135711.1ee0364b@suse.de> (raw)
In-Reply-To: <a7537544-798b-bdbe-866c-eae740b4d53b@dachary.org>
On Wed, 16 Nov 2016 08:05:42 +0100, Loic Dachary wrote:
> How would you distinguish a udev remove occuring because the disk was pulled from a udev remove occuring because partprobe was run by a user / utility program ?
That could be detected based on whether the corresponding disk (backing
the partition) is still around, although that may complicate things if
the order of the udev events changes.
Cheers, David
next prev parent reply other threads:[~2016-11-16 12:57 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-11-16 2:30 udev remove events to mark OSD down/out on disk-pull David Disseldorp
2016-11-16 7:05 ` Loic Dachary
2016-11-16 12:57 ` David Disseldorp [this message]
2016-11-16 14:50 ` Sage Weil
2016-11-16 15:16 ` David Disseldorp
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=20161116135711.1ee0364b@suse.de \
--to=ddiss@suse.de \
--cc=ceph-devel@vger.kernel.org \
--cc=loic@dachary.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox