Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757498AbZFRTDw (ORCPT ); Thu, 18 Jun 2009 15:03:52 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1757157AbZFRTDl (ORCPT ); Thu, 18 Jun 2009 15:03:41 -0400 Received: from einhorn.in-berlin.de ([192.109.42.8]:41310 "EHLO einhorn.in-berlin.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757357AbZFRTDk (ORCPT ); Thu, 18 Jun 2009 15:03:40 -0400 X-Envelope-From: stefanr@s5r6.in-berlin.de Date: Thu, 18 Jun 2009 21:03:23 +0200 (CEST) From: Stefan Richter Subject: [PATCH update 2] SCSI: explain the hidden scsi_wait_scan Kconfig variable To: James Bottomley cc: Sam Ravnborg , Matthew Wilcox , Changli Gao , linux-kernel@vger.kernel.org, linux-scsi@vger.kernel.org In-Reply-To: <20090618165926.GA13229@uranus.ravnborg.org> Message-ID: References: <4A384FE4.9090703@gmail.com> <20090617021254.GQ19977@parisc-linux.org> <1245338486.7586.13.camel@mulgrave.site> <20090618165926.GA13229@uranus.ravnborg.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; CHARSET=us-ascii Content-Disposition: INLINE Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1983 Lines: 51 People keep sending patches to expose CONFIG_SCSI_WAIT_SCAN as a tunable item. These patches aren't accepted upstream, so let's stop the ongoing irritation of people due to the unconditionally installed module and its Kconfig symbol. Signed-off-by: Stefan Richter --- update 1: more precise wording update 2: same as comment instead of help (pick what you like better) drivers/scsi/Kconfig | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) Index: b/drivers/scsi/Kconfig =================================================================== --- a/drivers/scsi/Kconfig +++ b/drivers/scsi/Kconfig @@ -259,10 +259,21 @@ config SCSI_SCAN_ASYNC or async on the kernel's command line. config SCSI_WAIT_SCAN - tristate + tristate # No prompt here, this is an invisible symbol. default m depends on SCSI depends on MODULES +# scsi_wait_scan is a loadable module which waits until all the async scans are +# complete. The idea is to use it in initrd/ initramfs scripts. You modprobe +# it after all the modprobes of the root SCSI drivers and it will wait until +# they have all finished scanning their buses before allowing the boot to +# proceed. (This method is not applicable if targets boot independently in +# parallel with the initiator, or with transports with non-deterministic target +# discovery schemes, or if a transport driver does not support scsi_wait_scan.) +# +# This symbol is not exposed as a prompt because little is to be gained by +# disabling it, whereas people who accidentally switch it off may wonder why +# their mkinitrd gets into trouble. menu "SCSI Transports" depends on SCSI -- Stefan Richter -=====-==--= -==- =--=- http://arcgraph.de/sr/ -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/