From: James Bottomley <James.Bottomley@SteelEye.com>
To: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Cc: linux-scsi <linux-scsi@vger.kernel.org>
Subject: Re: [PATCH] make scsi_wait_scan always modular
Date: Sun, 11 Mar 2007 16:35:49 -0500 [thread overview]
Message-ID: <1173648949.3420.29.camel@mulgrave.il.steeleye.com> (raw)
In-Reply-To: <Pine.LNX.4.60.0703112210510.5942@poirot.grange>
On Sun, 2007-03-11 at 22:17 +0100, Guennadi Liakhovetski wrote:
> On Sun, 11 Mar 2007, James Bottomley wrote:
> > On Sun, 2007-03-11 at 21:56 +0100, Guennadi Liakhovetski wrote:
> > > Which means, with this change you cannot build a kernel without module
> > > support but with scsi_wait_scan, which was possible before. Don't know if
> > > anybody would ever want to do this though...
> >
> > I'll do something about that if you can tell me how one might use
> > scsi_wait_scan without module support in the kernel ...
>
> I won't:-) Just from the comment at the top of the patch I didn't get the
> impression that this indeed was its intended result. Building statically
> with scsi_wait_scan would mean that you might allow async scan, but then
> some time at late_initcall() time you want a sync point. Could this ever
> be desired? If not, just ignore my comment.
scsi_wait_scan is designed to be a module that is loaded *after* you've
loaded all HBA modules that doesn't return from module_init until the
scans previously launched by the HBA module insertions are complete. In
a monolithic kernel, this is done by the async scan infrastructure but
in a modular kernel, you have to have some signal that you've finished
loading the SCSI modules (which is what scsi_wait_scan is).
So, if you build a kernel without module support, ipso facto you have no
SCSI modules to load and therefore you can't have a use for
scsi_wait_scan.
James
next prev parent reply other threads:[~2007-03-11 21:35 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-03-11 19:16 [PATCH] make scsi_wait_scan always modular James Bottomley
2007-03-11 20:56 ` Guennadi Liakhovetski
2007-03-11 21:06 ` James Bottomley
2007-03-11 21:17 ` Guennadi Liakhovetski
2007-03-11 21:35 ` James Bottomley [this message]
2007-03-11 22:12 ` Guennadi Liakhovetski
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=1173648949.3420.29.camel@mulgrave.il.steeleye.com \
--to=james.bottomley@steeleye.com \
--cc=g.liakhovetski@gmx.de \
--cc=linux-scsi@vger.kernel.org \
/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