linux-scsi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Alasdair G Kergon <agk@redhat.com>
To: device-mapper development <dm-devel@redhat.com>,
	linux-scsi@vger.kernel.org,
	Christophe Varoqui <christophe.varoqui@free.fr>
Subject: Re: [dm-devel] Read-Only devices, multipath and more
Date: Tue, 20 May 2008 15:48:07 +0100	[thread overview]
Message-ID: <20080520144807.GC10723@agk.fab.redhat.com> (raw)
In-Reply-To: <1210966544.12901.51.camel@plop>

On Fri, May 16, 2008 at 09:35:44PM +0200, christophe varoqui wrote:
> fact: device-mapper refuse to load a RW multipath table on these paths
> (ie without libdevmapper:set_task_set_ro())
> question: should change this behaviour to allow to load a RW multipath
> table on these paths and let the IO be failed by the storage hardware ?

Yes.  But relax this *only* for multipath targets, where the whole idea
is to "hide" path problems from the layer above.  It would not make sense 
in my view to do this for other DM targets.
 
> Alasdair proposed to add more explicit table loading ioctl return code
> when the failure is due to this ready-only paths issue (E_ROFS for
> example).

I think this should be done too (for non-multipath and other errors).

Alasdair
-- 
agk@redhat.com

  reply	other threads:[~2008-05-20 14:48 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-05-16 19:35 Read-Only devices, multipath and more Christophe Varoqui
2008-05-20 14:48 ` Alasdair G Kergon [this message]
2008-05-20 21:09   ` [dm-devel] " 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=20080520144807.GC10723@agk.fab.redhat.com \
    --to=agk@redhat.com \
    --cc=christophe.varoqui@free.fr \
    --cc=dm-devel@redhat.com \
    --cc=linux-scsi@vger.kernel.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: link
Be 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 NNTP newsgroup(s).