From: James Smart <James.Smart@Emulex.Com>
To: Tore Anderson <tore@linpro.no>
Cc: Linux SCSI Mailing List <linux-scsi@vger.kernel.org>,
Michael Reed <mdr@sgi.com>, Christoph Hellwig <hch@infradead.org>,
MLOEHR@de.ibm.com
Subject: Re: Disabling dev_loss_tmo?
Date: Wed, 14 Nov 2007 09:29:24 -0500 [thread overview]
Message-ID: <473B0644.3090403@emulex.com> (raw)
In-Reply-To: <473AAD88.307@linpro.no>
Tore Anderson wrote:
> So basically you're forcing breakage on users to corece the DM folks to
> fix their end? Maybe it's time to re-think that strategy, seeing that
> it hasn't been fixed in such a long time it seems unlikely that they
> would start bothering now. SuSE and RH works around it anyway, so
> everyone who's obedient enough to run the enterprise distros their
> storage vendor tells them to won't have any problems. Many of the DM
> folks are employed by SuSE, RH, and various storage vendors - go figure.
Please don't shoot the messenger. I was trying to summarize the evolution
of FC into the kernel, highlight that the DM team knew of the issue,
had higher-priority issues, and that it applies to more than FC. Having
experienced first-hand this method of getting work done, I certainly
don't promote it as a productive way of doing things.
> I'm just a simple user. To me the most important ting is that it - and
> by «it» I'm referring to the whole bundle of DM, SCSI, HBA driver, and
> the rest of the system - actually works.
>
> With no way of disabling dev_loss_tmo, it doesn't. It will break after
> intermittent failures, exactly the time where you need it to work the
> most. Knowing that the SCSI FC transport does the Right Thing isn't
> really any consolation.
I'm highlighting that - ok today, we get FC working, but then the user
puts DM on something else, like iSCSI or SAS/whatever, then it too
breaks - and that's ok ?
> The patch seems like a rather simple fix. Quick and dirty, sure, but it
> would actually help out the likes of me who are putting this stuff in
> production. And if it defaulted to remove_on_dev_loss=0, it wouldn't
> really be intrusive either. It seems that it will take a while to get
> this properly fixed (both in DM and the -EEXIST issue), so what I'm
> asking is just a way to make it work in the interim.
Using this analogy, to resolve the reuse-after-free issues, we simply
would have used the dont-tear-down patches to avoid teardown bugs,
like what the distros did. This too is a bad approach. Things need to
get fixed where things need to get fixed. We can add the FC patch, but
DM still needs to get fixed.
I'll defer to James on what he'd like to see happen in his subsystem,
as this does set precendence.
-- james s
-
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:[~2007-11-14 14:29 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-11-13 9:11 Disabling dev_loss_tmo? Tore Anderson
2007-11-13 10:24 ` Michael Loehr
2007-11-13 11:07 ` Tore Anderson
2007-11-13 16:18 ` James Smart
2007-11-14 8:10 ` Tore Anderson
2007-11-14 14:29 ` James Smart [this message]
2007-11-14 15:38 ` Tore Anderson
2007-11-14 19:00 ` James Smart
2007-11-15 8:02 ` [dm-devel] " Mike Anderson
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=473B0644.3090403@emulex.com \
--to=james.smart@emulex.com \
--cc=MLOEHR@de.ibm.com \
--cc=hch@infradead.org \
--cc=linux-scsi@vger.kernel.org \
--cc=mdr@sgi.com \
--cc=tore@linpro.no \
/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