All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mikulas Patocka <mpatocka@redhat.com>
To: Mike Snitzer <snitzer@redhat.com>
Cc: dm-devel@redhat.com, Alasdair G Kergon <agk@redhat.com>
Subject: Re: clustered snapshots
Date: Fri, 2 Oct 2009 13:55:57 -0400 (EDT)	[thread overview]
Message-ID: <Pine.LNX.4.64.0910021351100.14067@hs20-bc2-1.build.redhat.com> (raw)
In-Reply-To: <20091002172656.GA13491@redhat.com>

> I have done some light snapshot-merge testing to verify that this
> updated snapshot-merge quilt tree builds and works as expected.  I'll be
> testing more extensively shortly (particularly back-merge).
> 
> I have also updated the LVM2 snapshot-merge patches to work on 2.02.54-cvs:
> http://people.redhat.com/msnitzer/patches/snapshot-merge/lvm2/LVM2-2.02.54/
> 
> One thing to note is dm-snapshot now depends on dm_cluster_locking; when I
> tried to insmod dm-snapshot.ko I got:
> dm_snapshot: Unknown symbol dm_cluster_lock_exit
> dm_snapshot: Unknown symbol dm_cluster_lock_by_str
> dm_snapshot: Unknown symbol dm_cluster_lock_init

That is expected and it shouldn't make problems (modprobe handles 
dependences, just insmod doesn't). If you compile the kernel without 
dm_cluster_locking, it would not use it and it would have clustering 
disabled.

> I'm also seeing:
> DLM (built Sep 11 2009 23:48:05) installed
> dlm: no local IP address has been set
> dlm: cannot start dlm lowcomms -107
> device-mapper: dm-cluster-locking: Failed to create lockspace: dm-snap
> 
> Am I just missing the relevant LVM2 bits to push down proper args to the
> snapshot_ctr()?  Seems to me that we could do better about defaulting to
> _not_ triggering DLM/clustered calls...

That just means that you can't use clustering because you didn't configure 
DLM, otherwise it is harmless. I will redo the patch so that it tries to 
initialized dlm only if cluster arguments are supplied --- so that the 
message won't scare people.

> Also, I have no idea if I somehow messed up the clustered-locking
> patches when I refreshed them to work with my quilt tree.  I had a quick
> review of the patch changes I made and the only one that needs a closer
> look was dm-snapshot-clustered-locking-optimize.patch.

You didn't mess it, I get the same message too. But it is harmless.

> Mikulas please review/rebase your tree using my updated quilt tree and
> let me know if you see any issues.  Maybe you have newer patches at this
> point?
> 
> Thanks,
> Mike

Mikulas

  reply	other threads:[~2009-10-02 17:55 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-09-28 23:16 clustered snapshots Mikulas Patocka
2009-09-29 21:39 ` Mikulas Patocka
2009-09-30 16:17   ` Jonathan Brassow
2009-10-01  5:43     ` Mikulas Patocka
2009-10-02 17:26   ` Mike Snitzer
2009-10-02 17:55     ` Mikulas Patocka [this message]
2009-10-04  3:48     ` Mike Snitzer
2009-10-05  2:25       ` Mikulas Patocka
2009-10-05  4:33         ` Mike Snitzer
2009-10-05 13:38           ` Mike Snitzer
2009-10-05 15:57           ` Mikulas Patocka
2009-10-05 16:24             ` Mike Snitzer
2011-04-26  9:18 Christian Motschke

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=Pine.LNX.4.64.0910021351100.14067@hs20-bc2-1.build.redhat.com \
    --to=mpatocka@redhat.com \
    --cc=agk@redhat.com \
    --cc=dm-devel@redhat.com \
    --cc=snitzer@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.