From mboxrd@z Thu Jan 1 00:00:00 1970 From: James Bottomley Subject: Re: [Cbe-oss-dev] [regression/bisected] corrupt CD data after media change and delay Date: Tue, 10 Jun 2008 10:56:19 -0500 Message-ID: <1213113379.3440.23.camel@localhost.localdomain> References: <1212765202.16182.5.camel@localhost.localdomain> <1213023916.3508.23.camel@localhost.localdomain> <1213111253.3440.5.camel@localhost.localdomain> <484EA274.2060308@panasas.com> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit Return-path: Received: from accolon.hansenpartnership.com ([76.243.235.52]:43384 "EHLO accolon.hansenpartnership.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751720AbYFJP4X (ORCPT ); Tue, 10 Jun 2008 11:56:23 -0400 In-Reply-To: <484EA274.2060308@panasas.com> Sender: linux-scsi-owner@vger.kernel.org List-Id: linux-scsi@vger.kernel.org To: Boaz Harrosh Cc: Geert Uytterhoeven , linux-scsi On Tue, 2008-06-10 at 18:49 +0300, Boaz Harrosh wrote: > I think, I recall that, any issued command, not only unit_ready, might be appended > with UNIT_ATTENTION sense. So maybe as a deeper fix (with lots of testing) we want > to add this logic into the scsi_check_sense() processing. But I'm not sure either way. We do .. it's in scsi_io_completion(). The problem is that by design internally issued commands bypass this, so the problem was that the internally issued command wasn't doing the correct update. James