From: Alasdair G Kergon <agk@redhat.com>
To: Nikanth Karthikesan <knikanth@suse.de>
Cc: device-mapper development <dm-devel@redhat.com>
Subject: Re: [PATCH] Allow multipath devices to be created for readonly devices
Date: Mon, 20 Jul 2009 21:08:36 +0100 [thread overview]
Message-ID: <20090720200835.GE32330@agk-dp.fab.redhat.com> (raw)
In-Reply-To: <200907081417.59976.knikanth@suse.de>
On Wed, Jul 08, 2009 at 02:17:59PM +0530, Nikanth Karthikesan wrote:
> Currently we cannot create device-mapper tables for multipath devices
> whenever they are read-only.This patch modifies the device-mapper to
> set the 'READ-ONLY' flag automatically whenever a read-only is added
> to the table.
I recall discussing this before:
1) Contrary to the assertion above, you can already create such dm
tables, by marking them explicitly as read-only.
2) The distinction between read-only and read-write device-mapper
devices is currently clear and simple. This proposal replaces the
definitions with far-less-intuitive ones and that is why I ignored it
first time around.
If you believe the existing interface and behaviour is inadequate,
think about some alternatives:
- What is the heart of the problem here? Give a specific example
to show why we need improvements: Is the patch really about
optimisation, arguing that to achieve the desired result through the
current interface involves avoidable effort?
- Consider whether adding another clearly-defined state to the system
or extending the userspace interface would be a better approach.
Alasdair
next prev parent reply other threads:[~2009-07-20 20:08 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-07-08 8:47 [PATCH] Allow multipath devices to be created for readonly devices Nikanth Karthikesan
2009-07-20 20:08 ` Alasdair G Kergon [this message]
2009-07-20 20:23 ` Alasdair G Kergon
2009-07-21 14:37 ` Hannes Reinecke
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=20090720200835.GE32330@agk-dp.fab.redhat.com \
--to=agk@redhat.com \
--cc=dm-devel@redhat.com \
--cc=knikanth@suse.de \
/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.