mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Alasdair G Kergon <agk@redhat.com>
To: Pekka J Enberg <penberg@cs.Helsinki.FI>
Cc: akpm@osdl.org, torvalds@osdl.org, linux-kernel@vger.kernel.org
Subject: Re: [PROBLEM] Device-mapper snapshot metadata userspace breakage
Date: Thu, 20 Apr 2006 18:37:17 +0100	[thread overview]
Message-ID: <20060420173717.GI24520@agk.surrey.redhat.com> (raw)
In-Reply-To: <Pine.LNX.4.58.0604201159350.29821@sbz-30.cs.Helsinki.FI>

On Thu, Apr 20, 2006 at 12:53:35PM +0300, Pekka J Enberg wrote:
> The problem is that lvremove program hangs in 'D' state forever with the 
> above commit for snapshots. I have included little more detail below.

The program might hang, but the system shouldn't now: run 'dmsetup
info -c', look for devices with names ending in '-cow' that are in the
suspended state and run 'dmsetup resume' on them.

> lvm2  2.01.04-5
> device-mapper 1.01.00-4

Upgrade!

Without the set of patches that included the one you identified,
whenever you ran 'lvcreate -s' the kernel was unable to give you any
guarantee the operation would succeed.  In the worst failure mode the
system would hang or oops, and the fix required this subtle interface
change.

Alasdair
-- 
agk@redhat.com

  parent reply	other threads:[~2006-04-20 17:37 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-04-20  9:53 Pekka J Enberg
2006-04-20  9:59 ` Andrew Morton
2006-04-20 10:04   ` Pekka J Enberg
2006-04-20 10:10     ` Andrew Morton
2006-04-20 10:08 ` Juergen Kreileder
2006-04-20 17:37 ` Alasdair G Kergon [this message]
2006-04-21  6:41   ` Pekka J Enberg
2006-04-21 15:17     ` Juergen Kreileder

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=20060420173717.GI24520@agk.surrey.redhat.com \
    --to=agk@redhat.com \
    --cc=akpm@osdl.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=penberg@cs.Helsinki.FI \
    --cc=torvalds@osdl.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

all inboxes | Powered by JetHome®