public inbox for lvm2-cvs@sourceware.org help / color / mirror / Atom feed
From: agk@sourceware.org To: lvm-devel@redhat.com, lvm2-cvs@sourceware.org Subject: LVM2 lib/metadata/lv_manip.c ./WHATS_NEW Date: Mon, 14 May 2012 16:19:00 -0000 [thread overview] Message-ID: <20120514161859.14591.qmail@sourceware.org> (raw) CVSROOT: /cvs/lvm2 Module name: LVM2 Changes by: agk@sourceware.org 2012-05-14 16:18:58 Modified files: lib/metadata : lv_manip.c . : WHATS_NEW Log message: Warn of deadlock risk when using snapshots of mirror segment type. Patches: http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/lib/metadata/lv_manip.c.diff?cvsroot=lvm2&r1=1.380&r2=1.381 http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/WHATS_NEW.diff?cvsroot=lvm2&r1=1.2404&r2=1.2405 --- LVM2/lib/metadata/lv_manip.c 2012/05/11 22:53:13 1.380 +++ LVM2/lib/metadata/lv_manip.c 2012/05/14 16:18:57 1.381 @@ -4231,9 +4231,9 @@ if (lv_is_mirror_type(org) && !seg_is_raid(first_seg(org))) { - log_error("Snapshots of \"mirror\" segment types" - " are not supported"); - return NULL; + log_warn("WARNING: Snapshots of mirrors can deadlock under rare device failures."); + log_warn("WARNING: Consider using the raid1 mirror type to avoid this."); + log_warn("WARNING: See global/mirror_segtype_default in lvm.conf."); } if (!lv_info(cmd, org, 0, &info, 0, 0)) { --- LVM2/WHATS_NEW 2012/05/11 22:53:13 1.2404 +++ LVM2/WHATS_NEW 2012/05/14 16:18:58 1.2405 @@ -9,7 +9,7 @@ Add initial support for thin pool lvconvert. Fix lvrename for thin volumes (regression in for_each_sub_lv() 2.02.89). Fix up-convert when mirror activation is controled by volume_list and tags. - Disallow snapshots of mirror segment type. + Warn of deadlock risk when using snapshots of mirror segment type. Fix bug in cmirror that caused incorrect status info to print on some nodes. Remove statement that snapshots cannot be tagged from lvm man page. Disallow changing cluster attribute of VG while RAID LVs are active.
next reply other threads:[~2012-05-14 16:19 UTC|newest] Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top 2012-05-14 16:19 agk [this message] -- strict thread matches above, loose matches on Subject: below -- 2012-05-11 22:53 agk 2011-11-04 1:31 agk
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=20120514161859.14591.qmail@sourceware.org \ --to=agk@sourceware.org \ --cc=lvm-devel@redhat.com \ --cc=lvm2-cvs@sourceware.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: linkBe 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; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).