Re: Background scan of sata drives

From: Tejun Heo
Date: Mon Oct 30 2006 - 01:26:49 EST


Phillip Susi wrote:
I seem to recall seeing mention flow by on the lkml at some point that sata disks are now scanned in the background rather than blocking in the modprobe, but that there is a new dummy module you can load that just blocks until all drives have been scanned. I tried but was unable to find the thread that mentioned this, so does anyone know what that module was?

Scanning during boot and module loading is blocking. modprobe will wait in the kernel until the initial scan is complete. But user initiated scan (echo - - - > /sys/class/scsi_host/hostX/scan) doesn't wait for completion. Patch to make user scan blocking is pending.

--
tejun
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/