public inbox for linux-scsi@vger.kernel.org
 help / color / mirror / Atom feed
From: Stefan Richter <stefanr@s5r6.in-berlin.de>
To: "René Bolldorf" <xsecute@googlemail.com>
Cc: linux-scsi <linux-scsi@vger.kernel.org>
Subject: Re: [Patch]: Enable SCSI Wait Scan only if BLK_DEV_INITRD is set.
Date: Tue, 23 Feb 2010 17:08:30 +0100	[thread overview]
Message-ID: <4B83FD7E.1070601@s5r6.in-berlin.de> (raw)
In-Reply-To: <4B830AEB.3010905@googlemail.com>

René Bolldorf wrote:

(I'm not sure whether the maintainers are going to accept that change
this time around, but anyway:)

> diff --git a/drivers/scsi/Kconfig b/drivers/scsi/Kconfig
> index 9191d1e..b785703 100644
> --- a/drivers/scsi/Kconfig
> +++ b/drivers/scsi/Kconfig
> @@ -258,21 +258,22 @@ config SCSI_SCAN_ASYNC
>   	  or async on the kernel's command line.
> 
>   config SCSI_WAIT_SCAN
> -	tristate  # No prompt here, this is an invisible symbol.
> +	tristate "SCSI Wait Scan"
>   	default m
>   	depends on SCSI
> +	depends on SCSI_SCAN_ASYNC
>   	depends on MODULES
[...]
> +	depends on BLK_DEV_INITRD

There needs to be an additional "depends on m" now that you made it
visible, so that it cannot be set to y.

> +	help
> +	  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.
[...]
> +	  People that use a initramfs should say Y or M.

They "...should say M." actually.
-- 
Stefan Richter
-=====-==-=- --=- =-===
http://arcgraph.de/sr/
--
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

  reply	other threads:[~2010-02-23 16:09 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-02-22 22:53 [Patch]: Enable SCSI Wait Scan only if BLK_DEV_INITRD is set René Bolldorf
2010-02-23 16:08 ` Stefan Richter [this message]
2010-02-23 18:57   ` René Bolldorf
2010-02-23 20:52     ` Joe Eykholt
2010-02-23 21:07       ` Stefan Richter

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4B83FD7E.1070601@s5r6.in-berlin.de \
    --to=stefanr@s5r6.in-berlin.de \
    --cc=linux-scsi@vger.kernel.org \
    --cc=xsecute@googlemail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox