From: Benjamin Marzinski <bmarzins@redhat.com>
To: dm-devel@redhat.com
Subject: dm-multipath: del/add map problem
Date: Tue, 21 Feb 2006 15:38:05 -0600 [thread overview]
Message-ID: <20060221213805.GA5670@ether.msp.redhat.com> (raw)
When you delete a multipath map, orphaning the path clears out some members
of the path structure. Adding that map again doesn't bring them back.
Specifically, you loose your checker file descriptor.
The attached patch restores most of the members. It doesn't reset getuid.
I don't see why that gets cleared in the first place? Actually, I don't
see why most of these get cleared, but I didn't look too hard, so I might
just be missing the reason.
Note: I cannot get multipathd add the map if it doesn't already exist in
device mapper, which I assume that I'm supposed to be able to do. To see
this bug, I need to re-add the map with multipath before re-adding it in
multipathd. I'll look into that right after I clean up my next patch.
-Ben
next reply other threads:[~2006-02-21 21:38 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-02-21 21:38 Benjamin Marzinski [this message]
2006-02-21 22:39 ` dm-multipath: del/add map problem Benjamin Marzinski
2006-02-25 14:09 ` Christophe Varoqui
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=20060221213805.GA5670@ether.msp.redhat.com \
--to=bmarzins@redhat.com \
--cc=dm-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.