From: Jason McMullan <jmcmullan@linuxcare.com>
To: linux-kernel@vger.kernel.org
Subject: Re: SCSI-Multipath driver for 2.4?
Date: 25 Apr 2001 18:09:07 GMT [thread overview]
Message-ID: <9c73s3$tve$1@jmcmullan.evillabs.net> (raw)
In-Reply-To: <Pine.LNX.4.21.0104251311420.25506-100000@ameise.opto.de> <3AE6F884.6D68304D@redhat.com>
Doug Ledford <dledford@redhat.com> wrote:
> When we reviewed the code, we didn't like it all that much. It served it's
> purpose on the t3 stuff from Sun, but it wasn't generic enough to suit our
> tastes.
True, but the MD layer in 2.2.x (at least as of last June,
when I wrote the T3 SCSI-Alias-Chain failover code) was poorly documented,
race-prone, and nasty. :^) My _first_ attempt at multipath was with
the MD layer, but the 2.2.x code was just way too hairy for it to
work by the deadlines Sun had on us.
So I went into the SCSI block handling layer. Only one
major race I had to avoid, and got the final implementation written
in a week.
> (for instance, there
> are horribly stupid devices out there that support what is called
> "Active-Passive" multipath, where if you write to the passive path, it makes
> the active path error out, which makes the device 100% useless for
> multi-initiator, shared SCSI/FC environments, and makes the device total junk
> in my opinion, but if we are going to support them in a Multipath setup, then
> the multipath driver has to be modified so it doesn't attempt to touch passive
> paths until the active path has already failed, which it doesn't currently
> attempt to do when writing superblocks or reading partition tables).
Interestingly enough, that is exactly the type of hardware that
the SCSI Alias Chains patch is designed to support - the Sun T3, IBM Shark,
etc. Nasty, evil critters, but supported. I do wish you the best of luck
with the MD layer version, since that's where it should have gone in
the first place.... If the MD layer had been up to snuff. ];^)
--
Jason McMullan, Senior Linux Consultant
Linuxcare, Inc. 412.432.6457 tel, 412.656.3519 cell
jmcmullan@linuxcare.com, http://www.linuxcare.com/
Linuxcare. Putting open source to work.
next prev parent reply other threads:[~2001-04-25 18:10 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-04-25 11:15 SCSI-Multipath driver for 2.4? Christoph Biardzki
2001-04-25 16:17 ` Doug Ledford
2001-04-25 18:09 ` Jason McMullan [this message]
2001-04-30 22:42 ` Alan Cox
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='9c73s3$tve$1@jmcmullan.evillabs.net' \
--to=jmcmullan@linuxcare.com \
--cc=linux-kernel@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