From mboxrd@z Thu Jan 1 00:00:00 1970 From: James Bottomley Subject: Re: Remove scsi_wait_scan module Date: Thu, 31 May 2012 18:44:59 +0100 Message-ID: <1338486299.3156.10.camel@dabdike.sthat4.btopenzone.com> References: <1338110026.2957.5.camel@dabdike.int.hansenpartnership.com> <20120528100015.GB10036@vostochny.stro.at> <1338206866.6330.22.camel@dabdike> <1338420752.3069.20.camel@dabdike> <4FC7288C.302@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Return-path: Received: from bedivere.hansenpartnership.com ([66.63.167.143]:38112 "EHLO bedivere.hansenpartnership.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757174Ab2EaRpD (ORCPT ); Thu, 31 May 2012 13:45:03 -0400 In-Reply-To: Sender: linux-scsi-owner@vger.kernel.org List-Id: linux-scsi@vger.kernel.org To: Dan Williams Cc: Harald Hoyer , maximilian attems , linux-scsi , Dave Jones , Jeff Mahoney , Ben Hutchings , initramfs@vger.kernel.org On Thu, 2012-05-31 at 09:45 -0700, Dan Williams wrote: > On Thu, May 31, 2012 at 1:15 AM, Harald Hoyer wrote: > > For Fedora17 scsi_wait_scan is not used anymore in the normal initramfs. I > > removed it and raid is only tried to be started in degraded mode after a timeout > > (several udevadm settle waits plus some extra 10 seconds). > > I'm probably missing something, but that sounds like "sprinkle > timeouts until it magically works"? If udevadm settle is being used > as a discovery barrier shouldn't it be closing the loop with > wait_for_device_probe() in the kernel? No, that was pretty much the whole point of booting async. It only really matters in huge numbers of devices systems (like san connected beasts). What you *really* want is the boot to proceed immediately after root appears and let the rest of the device probing continue in parallel. James