All of lore.kernel.org
 help / color / mirror / Atom feed
* RE: Autosense requirement
@ 2002-07-29 22:28 Ravi Anand
  2002-07-29 22:36 ` Doug Ledford
  0 siblings, 1 reply; 13+ messages in thread
From: Ravi Anand @ 2002-07-29 22:28 UTC (permalink / raw)
  To: Mike Anderson, Doug Ledford; +Cc: linux-scsi

Does this also mean low level driver will be responsible for taking action on the basis of the sense data coming back from the device ?

Ravi
-----Original Message-----
From: Mike Anderson [mailto:andmike@us.ibm.com]
Sent: Monday, July 29, 2002 2:53 PM
To: Doug Ledford
Cc: linux-scsi@vger.kernel.org
Subject: Re: Autosense requirement


Doug Ledford [dledford@redhat.com] wrote:
> It will be mandatory for the LLDD to do autosense.  All remnants of code 
> to perform a follow up request sense operation *will* dissappear from the 
> mid layer.  OTOH, the sense command and sense buffer will be pre-set for 
> each device so at least the LLDD won't have to build their own command any 
> longer, they can just change the command pointer from the original command 
> to the sense command and the data buffer to the sense buffer and reissue 
> the request.

Doug,
	I assume from your message that you are removing the call from
	scsi_unjam_host to do request sense (which is good). 
	
	Does this imply that your reworking all of the eh handling in
	scsi_error.c?

	I was doing some rework in this area, but it sounds like it might
	be counter to your work.

-Mike
-- 
Michael Anderson
andmike@us.ibm.com

-
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

^ permalink raw reply	[flat|nested] 13+ messages in thread
* Autosense requirement
@ 2002-07-29 13:02 Luben Tuikov
  2002-07-29 17:48 ` Douglas Gilbert
  0 siblings, 1 reply; 13+ messages in thread
From: Luben Tuikov @ 2002-07-29 13:02 UTC (permalink / raw)
  To: linux-scsi

How safe am I to assume that SCSI LLDD will return
autosense for a failed/incomplete command, as per
SCSI core (mid-layer) error handling requrement?
(e.g. ide-scsi doesn't return autosense)

In drafts I'm more and more seeing 
``targets MUST support and enable autosense.''

If indeed we put a ``MUST'' requirement on SCSI LLDD
to support and enable autosense, which will indeed
streamline things, then this will save me a an _irq_
spin lock over a simple spin lock...

What is the future of this requrement?

-- 
Luben

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2002-07-31 18:02 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-07-29 22:28 Autosense requirement Ravi Anand
2002-07-29 22:36 ` Doug Ledford
  -- strict thread matches above, loose matches on Subject: below --
2002-07-29 13:02 Luben Tuikov
2002-07-29 17:48 ` Douglas Gilbert
2002-07-29 19:55   ` Doug Ledford
2002-07-29 21:53     ` Mike Anderson
2002-07-29 21:58       ` Doug Ledford
2002-07-29 22:10         ` Patrick Mansfield
2002-07-29 23:00           ` Doug Ledford
2002-07-29 23:18             ` Patrick Mansfield
2002-07-31 16:04               ` James Bottomley
2002-07-31 18:02                 ` Patrick Mansfield
2002-07-30 19:58     ` Luben Tuikov

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.