From: Roland Dreier <rdreier@cisco.com>
To: Matthew Wilcox <matthew@wil.cx>
Cc: linux-scsi@vger.kernel.org
Subject: Re: Some fixes for the SRP driver
Date: Wed, 17 May 2006 07:54:13 -0700 [thread overview]
Message-ID: <ada7j4k7ld6.fsf@cisco.com> (raw)
In-Reply-To: <20060513044445.GQ12272@parisc-linux.org> (Matthew Wilcox's message of "Fri, 12 May 2006 22:44:45 -0600")
Thanks, I queued up most of this for 2.6.18.
> - You might consider moving this driver to drivers/scsi. It's actually
> fairly small compared to most scsi drivers, and basically you've got
> two files plus Kbuild/Kconfig machinery. Seems a bit silly, plus
> people would notice this scsi driver more readily.
Yeah, it's a valid point. On the other hand, it's also an infiniband
driver. It's kind of like the ieee1394 sbp2 driver -- both fish and
fowl ;)
> - I'm not convinced you need the target list/lock I mention above.
> The Scsi_Host structure has a list of associated targets, although
> I don't see a good iterator for them right now.
It's a little different than that. Confusingly enough, the SRP driver
uses a scsi_host for each target port it connects to, and then has a
higher-level private structure for each host adapter with a list of
target ports. That list is what's being protected.
The reason for using a full scsi_host for a target port is so that we
can limit the number of commands sent to a target port from the
midlayer (because the number of outstanding work requests on a given
connection is what is limited).
- R.
prev parent reply other threads:[~2006-05-17 14:54 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-05-13 4:44 Some fixes for the SRP driver Matthew Wilcox
2006-05-17 14:54 ` Roland Dreier [this message]
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=ada7j4k7ld6.fsf@cisco.com \
--to=rdreier@cisco.com \
--cc=linux-scsi@vger.kernel.org \
--cc=matthew@wil.cx \
/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.