All of lore.kernel.org
 help / color / mirror / Atom feed
From: Phillip Susi <psusi@cfl.rr.com>
To: dm-devel@redhat.com
Subject: Re: Device removal handling
Date: Mon, 11 Jul 2011 11:08:05 -0400	[thread overview]
Message-ID: <4E1B11D5.8050603@cfl.rr.com> (raw)
In-Reply-To: <20110710220330.GA7857@agk-dp.fab.redhat.com>

On 7/10/2011 6:03 PM, Alasdair G Kergon wrote:
> (But devices should be removed from the top down, obviously, and if
> it's your main filesystem, you could e.g. set up a ramdisk do do
> this from.)

I disagree.  Right now dmraid relies on doing this, but this is not 
possible if it is not aware of the higher level mappings because they 
were created by kpartx.  LVM and multipath will have the same problem if 
kpartx recognizes partitions contained within an LV.

Hardware removal also necessitates bottom up removal, since the initial 
event comes from unplugging the hardware at the bottom of the stack. 
The system needs to propagate notification of that up the stack so that 
the higher layers can react appropriately and release the removed lower 
layer device.

  reply	other threads:[~2011-07-11 15:08 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-10 20:12 Device removal handling Phillip Susi
2011-07-10 22:03 ` Alasdair G Kergon
2011-07-11 15:08   ` Phillip Susi [this message]
2011-07-11 15:23     ` Alasdair G Kergon
2011-07-11 20:31       ` Phillip Susi
2011-07-12  6:24     ` Hannes Reinecke
2011-07-12 10:58       ` Alasdair G Kergon
2011-07-13 15:53         ` Phillip Susi

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=4E1B11D5.8050603@cfl.rr.com \
    --to=psusi@cfl.rr.com \
    --cc=dm-devel@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.