* Background scan of sata drives
@ 2006-10-25 3:51 Phillip Susi
2006-10-30 6:26 ` Tejun Heo
0 siblings, 1 reply; 3+ messages in thread
From: Phillip Susi @ 2006-10-25 3:51 UTC (permalink / raw)
To: linux kernel
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?
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Background scan of sata drives
2006-10-25 3:51 Background scan of sata drives Phillip Susi
@ 2006-10-30 6:26 ` Tejun Heo
2006-10-30 15:33 ` Phillip Susi
0 siblings, 1 reply; 3+ messages in thread
From: Tejun Heo @ 2006-10-30 6:26 UTC (permalink / raw)
To: Phillip Susi; +Cc: linux kernel
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Background scan of sata drives
2006-10-30 6:26 ` Tejun Heo
@ 2006-10-30 15:33 ` Phillip Susi
0 siblings, 0 replies; 3+ messages in thread
From: Phillip Susi @ 2006-10-30 15:33 UTC (permalink / raw)
To: Tejun Heo; +Cc: linux kernel
I could have sworn I saw a patch in the last month or two that made the
modprobe scan NON blocking, and added a new dummy module you could
modprobe that would block until the scan was complete. Am I imagining this?
Tejun Heo wrote:
> 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.
>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2006-10-30 15:33 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-10-25 3:51 Background scan of sata drives Phillip Susi
2006-10-30 6:26 ` Tejun Heo
2006-10-30 15:33 ` Phillip Susi
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).