From: Douglas Gilbert <dougg@torque.net>
To: linux-scsi@vger.kernel.org
Cc: hch@infradead.org
Subject: scsi_add_host() context
Date: Mon, 18 Nov 2002 12:26:38 +1100 [thread overview]
Message-ID: <3DD841CE.3010309@torque.net> (raw)
While examining the various calls in the mid level that
can be called from a LLD, most are designed to
be called from an interrupt or related context
(e.g. scsi_adjust_queue_depth() ).
However, the detection of a new host requires a LLD to call
scsi_register() and scsi_add_host(). The latter call does
a SCSI bus scan which takes time and sends commands like
INQUIRY and REPORT_LUNS back through the LLD. So scsi_add_host()
should not be called from an interrupt context. Can this be
guaranteed in a hotplug environment? Is a worker thread
required?
Doug Gilbert
next reply other threads:[~2002-11-18 1:26 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-11-18 1:26 Douglas Gilbert [this message]
2002-11-19 0:02 ` scsi_add_host() context Christoph Hellwig
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=3DD841CE.3010309@torque.net \
--to=dougg@torque.net \
--cc=hch@infradead.org \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.