All of lore.kernel.org
 help / color / mirror / Atom feed
From: Takahiro Yasui <tyasui@redhat.com>
To: lvm-devel@redhat.com
Subject: [RFC] WARNING: dev_open(xxx) called while suspended
Date: Fri, 19 Feb 2010 11:20:09 -0500	[thread overview]
Message-ID: <4B7EBA39.3070900@redhat.com> (raw)

Hi,

I'm testing 'mirrored' log patch set and I'm annoyed with a following
warning message.
  WARNING: dev_open(xxx) called while suspended
Can I suppress it by lvm configuration or something?

This message is displayed whenever log type is switched.

# lvconvert -m1 --mirrorlog core vg00/lv00
  WARNING: dev_open(/dev/sdc) called while suspended
  WARNING: dev_open(/dev/sdf) called while suspended
  Logical volume lv00 converted.

# lvconvert -m1 --mirrorlog disk vg00/lv00
  WARNING: dev_open(/dev/sdf) called while suspended
  Logical volume lv00 converted.

I bisected and found that this WARNING was introduced by the following
patch, especially adding remote_commit_cached_metadata() function.

LVM2 ./WHATS_NEW daemons/clvmd/lvm-functions.c ...
https://www.redhat.com/archives/lvm-devel/2010-January/msg00006.html

+++ LVM2/lib/metadata/metadata.c	2010/01/05 16:09:34	1.308
@@ -2331,6 +2331,12 @@
 		}
 	}
 
+	/*
+	 * Instruct remote nodes to upgrade cached metadata.
+	 */
+	if (cache_updated)
+		remote_commit_cached_metadata(vg);
+

I appreciate your comments.

Thanks,
Taka



             reply	other threads:[~2010-02-19 16:20 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-02-19 16:20 Takahiro Yasui [this message]
2010-02-19 16:44 ` [RFC] WARNING: dev_open(xxx) called while suspended Alasdair G Kergon
2010-02-20  0:23   ` Takahiro Yasui

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=4B7EBA39.3070900@redhat.com \
    --to=tyasui@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.