From: Andreas Dilger <adilger@turbolabs.com>
To: Ed Tomlinson <tomlins@cam.org>
Cc: linux-lvm@sistina.com,
Patrick Caulfield <patrick@tykepenguin.com>,
Chris Mason <mason@suse.com>
Subject: Re: [linux-lvm] reiserfs panic
Date: Fri Nov 30 18:51:01 2001 [thread overview]
Message-ID: <20011130175255.A27048@lynx.no> (raw)
In-Reply-To: <20011130124421.05D5F76F5@oscar.casa.dyndns.org>; from tomlins@cam.org on Fri, Nov 30, 2001 at 07:44:20AM -0500
On Nov 30, 2001 07:44 -0500, Ed Tomlinson wrote:
> Wonder if this is the result of something not getting into cvs? Mid October
> Chris fixed a bunch of snapshot problems. One was with full snapshots...
> He posted a fix here, some one else posted an alternate. Bet neither has
> been put into cvs. Here is what I am using with 'rc4ish'. Does it help?
Hmm, I thought I had put this into CVS. Note that my version put the
checks into lvm_snapshot_remap_block() rather than requiring the caller
to check it. It looks like it is there in my CVS.
> @@ -1142,7 +1142,8 @@
>
> /* we must redo lvm_snapshot_remap_block in order to avoid a
> race condition in the gap where no lock was held */
> - if (!lvm_snapshot_remap_block(&rdev, &rsector, pe_start, lv) &&
> + if (lv->lv_block_exception &&
> + !lvm_snapshot_remap_block(&rdev, &rsector, pe_start, lv) &&
> !lvm_snapshot_COW(rdev, rsector, pe_start, rsector, vg, lv))
> lvm_write_COW_table_block(vg, lv);
Cheers, Andreas
--
Andreas Dilger
http://sourceforge.net/projects/ext2resize/
http://www-mddsp.enel.ucalgary.ca/People/adilger/
prev parent reply other threads:[~2001-11-30 18:51 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20011129164915.I1408@tykepenguin.com>
2001-11-30 4:22 ` [linux-lvm] reiserfs panic Patrick Caulfield
2001-11-30 7:55 ` Chris Mason
2001-11-30 8:04 ` Patrick Caulfield
2001-11-30 10:31 ` Andreas Dilger
2001-12-29 22:31 ` [linux-lvm] Fun little horror story -- please add to FAQ if it isn't already documented Chris Worley
2001-12-30 5:05 ` Ben Holness
2001-12-30 9:29 ` Steven Lembark
2001-11-30 17:59 ` [linux-lvm] reiserfs panic Ed Tomlinson
2001-11-30 18:51 ` Andreas Dilger [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=20011130175255.A27048@lynx.no \
--to=adilger@turbolabs.com \
--cc=linux-lvm@sistina.com \
--cc=mason@suse.com \
--cc=patrick@tykepenguin.com \
--cc=tomlins@cam.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 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.