From mboxrd@z Thu Jan 1 00:00:00 1970 From: Luben Tuikov Subject: Re: sg driver and the error handler Date: Wed, 11 May 2005 12:40:05 -0400 Message-ID: <42823565.9000806@adaptec.com> References: <20050510225831.GA4181@us.ibm.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: Received: from magic.adaptec.com ([216.52.22.17]:33943 "EHLO magic.adaptec.com") by vger.kernel.org with ESMTP id S261186AbVEKQkM (ORCPT ); Wed, 11 May 2005 12:40:12 -0400 In-Reply-To: <20050510225831.GA4181@us.ibm.com> Sender: linux-scsi-owner@vger.kernel.org List-Id: linux-scsi@vger.kernel.org To: Patrick Mansfield Cc: Alan Stern , James Bottomley , Doug Gilbert , SCSI development list On 05/10/05 18:58, Patrick Mansfield wrote: > As you say, what you really want is the correct result going back to the > user, not the result of the TUR. > > So save and restore the result in scsi_eh_tur, and also in scsi_eh_try_stu. > The request sense one already saves and restores it. I think he even wants the stronger condition -- after the command is reclaimed from the LLDD, just send back the result to the application client. And let the application client decide whether they want to send TUR or something else. Luben