aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/Kconfig
diff options
context:
space:
mode:
authorMatthew Wilcox <matthew@wil.cx>2006-11-22 15:24:52 -0500
committerJames Bottomley <jejb@mulgrave.il.steeleye.com>2006-11-22 17:41:09 -0500
commit21db1882f79a1ad5977cae6766376a63f60ec414 (patch)
treec5e8d444c72a4e7837f6a00f8d66b3291ca0bf52 /drivers/scsi/Kconfig
parent902762831c0068ba0c8c8fca801e505a9881aa01 (diff)
[SCSI] Add Kconfig option for asynchronous SCSI scanning
Without this patch, the user has to add a kernel command line parameter to get asynchronous SCSI scanning. Now they can select the default at compile time and still override it at boot time if they need to. Signed-off-by: Matthew Wilcox <matthew@wil.cx> Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/scsi/Kconfig')
-rw-r--r--drivers/scsi/Kconfig17
1 files changed, 17 insertions, 0 deletions
diff --git a/drivers/scsi/Kconfig b/drivers/scsi/Kconfig
index 5881464a938d..8442be1bb162 100644
--- a/drivers/scsi/Kconfig
+++ b/drivers/scsi/Kconfig
@@ -216,6 +216,23 @@ config SCSI_LOGGING
216 there should be no noticeable performance impact as long as you have 216 there should be no noticeable performance impact as long as you have
217 logging turned off. 217 logging turned off.
218 218
219config SCSI_SCAN_ASYNC
220 bool "Asynchronous SCSI scanning"
221 depends on SCSI
222 help
223 The SCSI subsystem can probe for devices while the rest of the
224 system continues booting, and even probe devices on different
225 busses in parallel, leading to a significant speed-up.
226 If you have built SCSI as modules, enabling this option can
227 be a problem as the devices may not have been found by the
228 time your system expects them to have been. You can load the
229 scsi_wait_scan module to ensure that all scans have completed.
230 If you build your SCSI drivers into the kernel, then everything
231 will work fine if you say Y here.
232
233 You can override this choice by specifying scsi_mod.scan="sync"
234 or "async" on the kernel's command line.
235
219menu "SCSI Transports" 236menu "SCSI Transports"
220 depends on SCSI 237 depends on SCSI
221 238