All of lore.kernel.org
 help / color / mirror / Atom feed
From: Hannes Reinecke <hare@suse.de>
To: James.Smart@emulex.com
Cc: "Elliott, Robert (Server Storage)" <Elliott@hp.com>,
	"emilne@redhat.com" <emilne@redhat.com>,
	SCSI Mailing List <linux-scsi@vger.kernel.org>,
	Andrew Vasquez <andrew.vasquez@qlogic.com>,
	Chad Dupuis <chad.dupuis@qlogic.com>,
	James Bottomley <James.Bottomley@HansenPartnership.com>
Subject: Re: Error handling on FC devices
Date: Fri, 30 Nov 2012 12:44:45 +0100	[thread overview]
Message-ID: <50B89C2D.8030108@suse.de> (raw)
In-Reply-To: <50B78715.2060109@emulex.com>

On 11/29/2012 05:02 PM, James Smart wrote:
> Always possible - but....   Our f/w works at the FCP level and
> below, which means it doesn't know/do SCSI commands - e.g what the
> cdb within the FCP CMD frame is; know anything about SCSI device
> classes and state; etc. And it shouldn't be required to do so.
> Anytime this has been there in the past, it's been problematic.
>
> if we want to do this - we should add it to the midlayer/transport.
>
D'accord. Transport layer looks like a good fit.

What we should be doing is hooking up 'bus_reset' to be equivalent 
to REMOVE I_T NEXUS (SAS is already doing this).

In our case a REMOVE I_T NEXUS would be roughly equivalent to
scsi_remote_port_delete(); only we should be starting aborting
outstanding I/O directly and not waiting for fast_fail_tmo
to kick in.

I'll be posting a patch.

Cheers,

Hannes
-- 
Dr. Hannes Reinecke		      zSeries & Storage
hare@suse.de			      +49 911 74053 688
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg
GF: J. Hawn, J. Guild, F. Imendörffer, HRB 16746 (AG Nürnberg)
--
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

  reply	other threads:[~2012-11-30 11:44 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-11-19 12:41 Error handling on FC devices Hannes Reinecke
2012-11-26 22:32 ` James Smart
2012-11-27 20:03   ` Ewan Milne
2012-11-27 20:29     ` Elliott, Robert (Server Storage)
2012-11-28  7:09       ` Hannes Reinecke
2012-11-29 16:02         ` James Smart
2012-11-30 11:44           ` Hannes Reinecke [this message]
2012-11-30 16:54             ` Mike Christie
2012-12-03  7:15               ` Hannes Reinecke
2012-12-03 17:19                 ` Jeremy Linton
2012-12-03 22:52                 ` Elliott, Robert (Server Storage)
2012-12-04 15:56                   ` Kipp Aldrich

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=50B89C2D.8030108@suse.de \
    --to=hare@suse.de \
    --cc=Elliott@hp.com \
    --cc=James.Bottomley@HansenPartnership.com \
    --cc=James.Smart@emulex.com \
    --cc=andrew.vasquez@qlogic.com \
    --cc=chad.dupuis@qlogic.com \
    --cc=emilne@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 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.