public inbox for lvm2-cvs@sourceware.org help / color / mirror / Atom feed
From: prajnoha@sourceware.org To: lvm-devel@redhat.com, lvm2-cvs@sourceware.org Subject: LVM2 ./WHATS_NEW lib/locking/locking.c scripts ... Date: Thu, 11 Aug 2011 15:27:00 -0000 [thread overview] Message-ID: <20110811152747.2052.qmail@sourceware.org> (raw) CVSROOT: /cvs/lvm2 Module name: LVM2 Changes by: prajnoha@sourceware.org 2011-08-11 15:27:47 Modified files: . : WHATS_NEW lib/locking : locking.c scripts : lvm2_monitoring_init_red_hat.in lvm2_monitoring_systemd_red_hat.service.in Log message: Suppress locking error messages in monitoring init scripts. Patches: http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/WHATS_NEW.diff?cvsroot=lvm2&r1=1.2062&r2=1.2063 http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/lib/locking/locking.c.diff?cvsroot=lvm2&r1=1.97&r2=1.98 http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/scripts/lvm2_monitoring_init_red_hat.in.diff?cvsroot=lvm2&r1=1.4&r2=1.5 http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/scripts/lvm2_monitoring_systemd_red_hat.service.in.diff?cvsroot=lvm2&r1=1.1&r2=1.2 --- LVM2/WHATS_NEW 2011/08/11 12:57:10 1.2062 +++ LVM2/WHATS_NEW 2011/08/11 15:27:46 1.2063 @@ -1,5 +1,6 @@ Version 2.02.87 - =============================== + Suppress locking error messages in monitoring init scripts. If pipe in clvmd fails, return busy instead of using uninitialised descriptors. Add dmeventd monitoring shared library for RAID. Add RAID metadata devices to considered devices in _add_lv_to_dtree. --- LVM2/lib/locking/locking.c 2011/08/10 16:07:54 1.97 +++ LVM2/lib/locking/locking.c 2011/08/11 15:27:46 1.98 @@ -221,7 +221,7 @@ */ int init_locking(int type, struct cmd_context *cmd, int suppress_messages) { - if (ignorelockingfailure() && getenv("LVM_SUPPRESS_LOCKING_FAILURE_MESSAGES")) + if (getenv("LVM_SUPPRESS_LOCKING_FAILURE_MESSAGES")) suppress_messages = 1; if (type < 0) --- LVM2/scripts/lvm2_monitoring_init_red_hat.in 2010/04/15 19:15:04 1.4 +++ LVM2/scripts/lvm2_monitoring_init_red_hat.in 2011/08/11 15:27:46 1.5 @@ -42,6 +42,7 @@ LOCK_FILE="/var/lock/subsys/$DAEMON" WARN=1 +export LVM_SUPPRESS_LOCKING_FAILURE_MESSAGES=1 start() { --- LVM2/scripts/lvm2_monitoring_systemd_red_hat.service.in 2011/07/28 12:54:28 1.1 +++ LVM2/scripts/lvm2_monitoring_systemd_red_hat.service.in 2011/08/11 15:27:46 1.2 @@ -8,6 +8,7 @@ [Service] Type=oneshot +Environment=LVM_SUPPRESS_LOCKING_FAILURE_MESSAGES=1 ExecStart=@sbindir@/lvm vgchange --monitor y ExecStop=@sbindir@/lvm vgchange --monitor n RemainAfterExit=yes
reply other threads:[~2011-08-11 15:27 UTC|newest] Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20110811152747.2052.qmail@sourceware.org \ --to=prajnoha@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).