From: Matthew Wilcox <matthew@wil.cx>
To: linux-scsi@vger.kernel.org
Subject: streamlining the sym2 io submission path
Date: Wed, 20 Apr 2005 00:43:23 +0100 [thread overview]
Message-ID: <20050419234323.GA31352@parcelfarce.linux.theplanet.co.uk> (raw)
I've been looking at speeding up sym2's queuecommand method. In my
current development tree, I've removed most of sym_queue_command()
and inlined the remains into sym53c8xx_queuecommand(). There's some
funny stuff I wouldn't mind some advice with:
We fail the first command to the device if the device is marked as
NOSCAN or the lun is non-0 and the device isn't marked as SCAN LUNS.
I think the first part should be moved to slave_alloc(); it's a little
weird, but supportable. The second part troubles me a little -- is the
blacklist in the midlayer good enough to handle this, or should I leave
this mechanism in?
The driver currently fails commands sent to the lun of the host adapter.
Is this the correct behaviour? What should the driver do?
--
"Next the statesmen will invent cheap lies, putting the blame upon
the nation that is attacked, and every man will be glad of those
conscience-soothing falsities, and will diligently study them, and refuse
to examine any refutations of them; and thus he will by and by convince
himself that the war is just, and will thank God for the better sleep
he enjoys after this process of grotesque self-deception." -- Mark Twain
next reply other threads:[~2005-04-19 23:43 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-04-19 23:43 Matthew Wilcox [this message]
2005-04-19 23:48 ` streamlining the sym2 io submission path 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=20050419234323.GA31352@parcelfarce.linux.theplanet.co.uk \
--to=matthew@wil.cx \
--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