All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jonathan Brassow <jbrassow@redhat.com>
To: lvm-devel@redhat.com
Subject: [PATCH] Retry dm device removal if busy
Date: Tue, 13 Sep 2011 13:29:36 -0500	[thread overview]
Message-ID: <6E8B2169-8A1D-4682-B02E-9CEA8D1B6835@redhat.com> (raw)
In-Reply-To: <4E6F6958.5020609@redhat.com>

Yes please!

All to often we come across this issue.  There are a number of bugs that are likely fixed by doing this change - even if it isn't academically perfect.

 brassow

On Sep 13, 2011, at 9:31 AM, Peter Rajnoha wrote:

> If a dm device is being opened in parallel while we're
> trying to remove it, we'll end up with an error that
> the device is busy. This is a legitimate error, but
> with udev in play and asynchronous events generated
> as a result of using the WATCH udev rule, we can get
> into a situation where such failure is very unpleasant.
> 
> Let's try the removal a few times then. Though this is
> not a complete solution to the problem, let's use this
> until we have one.
> 
> Peter

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/lvm-devel/attachments/20110913/f1201b63/attachment.htm>

  parent reply	other threads:[~2011-09-13 18:29 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-09-13 14:31 [PATCH] Retry dm device removal if busy Peter Rajnoha
2011-09-13 14:55 ` Milan Broz
2011-09-13 15:01   ` Joe Thornber
2011-09-13 18:29 ` Jonathan Brassow [this message]
2011-09-14 12:14   ` Zdenek Kabelac
2011-09-14 12:26     ` Milan Broz

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=6E8B2169-8A1D-4682-B02E-9CEA8D1B6835@redhat.com \
    --to=jbrassow@redhat.com \
    --cc=lvm-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.