From: Chandra Seetharaman <sekharan@us.ibm.com>
To: Christophe Varoqui <christophe.varoqui@free.fr>
Cc: jens.axboe@oracle.com, james.bottomley@hansenpartnership.com,
alasdair.kergon@redhat.com, linux-scsi@vger.kernel.org,
dm-devel@redhat.com
Subject: Re: [BUG] dm-mpath and scsi persistent reservation
Date: Tue, 21 Oct 2008 15:48:03 -0700 [thread overview]
Message-ID: <1224629283.14830.838.camel@chandra-ubuntu> (raw)
In-Reply-To: <20081021231910.0fdbeb75@plop>
Christophe,
The SCSI Hardware handler is created for devices with special needs. It
is available in 2.6.27. One can be written for any device to translate
the scsi sense code to a different error code that the dm understands.
Is this something that coule help this situation ?
Have a look at drivers/scsi/device_handler directory.
Hope this helps,
chandra
On Tue, 2008-10-21 at 23:19 +0200, Christophe Varoqui wrote:
> Hi,
>
> the dm-mpath multipathing driver enqueues write ios returned by
> the scsi layer with a "reservation conflict" error (on assymetric
> storage controllers, like Clariion, where queue_if_no_path is enabled).
>
> This is wrong, and a potent data-corrupter : wio sent to a reserved
> scsi device should never be retried on this same device.
>
> Can someone advise on a viable solution for this problem ? I
> understand the Device Mapper being a block remapper, it is not expected
> to receive scsi errors directly ... but maybe some kind of translation
> might be acceptable. Or is there hope in the request-based remapper ?
>
> Jens, James, Alasdair, ... as maintainers of the involved subsystems,
> would you care to give some advise on the issue.
>
> Regards,
> cvaroqui
> --
> To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
next prev parent reply other threads:[~2008-10-21 22:49 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-10-21 21:19 [BUG] dm-mpath and scsi persistent reservation Christophe Varoqui
2008-10-21 22:48 ` Chandra Seetharaman [this message]
2008-10-22 19:54 ` Christophe Varoqui
2008-10-22 20:30 ` [dm-devel] " James Bottomley
2008-10-23 2:53 ` Mike Christie
2008-10-22 21:21 ` Chandra Seetharaman
2008-10-23 19:30 ` Christophe Varoqui
2008-10-23 21:03 ` 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=1224629283.14830.838.camel@chandra-ubuntu \
--to=sekharan@us.ibm.com \
--cc=alasdair.kergon@redhat.com \
--cc=christophe.varoqui@free.fr \
--cc=dm-devel@redhat.com \
--cc=james.bottomley@hansenpartnership.com \
--cc=jens.axboe@oracle.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