From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matthias Prager Subject: Re: 'Device not ready' issue on mpt2sas since 3.1.10 Date: Wed, 11 Jul 2012 14:19:09 +0200 Message-ID: <4FFD6F3D.2030708@matthiasprager.de> References: <4FE454CA.6080007@matthiasprager.de> <4FFAED4F.3080100@matthiasprager.de> <4FFB32E5.1050109@farcaster.org> <4FFB7354.8040809@matthiasprager.de> <4FFB8A86.7000009@farcaster.org> <4FFCBA4C.4000502@farcaster.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Return-path: Received: from dd15408.kasserver.com ([85.13.136.168]:39347 "EHLO dd15408.kasserver.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751319Ab2GKMTR (ORCPT ); Wed, 11 Jul 2012 08:19:17 -0400 In-Reply-To: <4FFCBA4C.4000502@farcaster.org> Sender: linux-scsi-owner@vger.kernel.org List-Id: linux-scsi@vger.kernel.org To: Robert Trace Cc: linux-scsi@vger.kernel.org, Matthias Prager Am 11.07.2012 01:27, schrieb Robert Trace: > On 07/09/2012 09:51 PM, Robert Trace wrote: >> >> Huh.. I just retested this and I'm seeing really random behavior. > > Ok, with a refined test I've been able to reliably reproduce this and I > bisected it back to commit 85ef06d1d252f6a2e73b678591ab71caad4667bb in > Linus' tree (introduced between 3.0 and 3.1): > > commit 85ef06d1d252f6a2e73b678591ab71caad4667bb > Author: Tejun Heo > Date: Fri Jul 1 16:17:47 2011 +0200 > > block: flush MEDIA_CHANGE from drivers on close(2) > > Prior to the above commit, sleeping disks will spin up as a result of > I/O sent to them. With the above commit, they don't spin up and > immediately return an I/O failure. This is good news thank you. I can confirm your findings - omitting commit 85ef06d1d252f6a2e73b678591ab71caad4667bb solves my initial issue here (with 3.1.10). > > That's all the further I've gotten so far. I'll be happy to test any > patches or suggestions. > > -- Rob >