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 <tj@xxxxxxxxxx> > 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 > -- To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html