From: Stefan Richter <stefanr@s5r6.in-berlin.de>
To: Jeff Garzik <jeff@garzik.org>
Cc: linux-scsi@vger.kernel.org, linux-ide@vger.kernel.org,
LKML <linux-kernel@vger.kernel.org>
Subject: Re: [RFC PATCH] SCSI host lock push-down
Date: Sat, 06 Nov 2010 10:31:05 +0100 [thread overview]
Message-ID: <4CD52059.7010503@s5r6.in-berlin.de> (raw)
In-Reply-To: <20101105002409.GA21714@havoc.gtf.org>
Jeff Garzik wrote:
> An alternate arrangement, not presented by this patch, might
> be preferred: in order to make it clear that queuecommand
> locking has changed, one could s/queuecommand/queuecommand_nl/ in
> Scsi_Host_Template, in order to guarantee that drivers are either
> (a) upgraded or (b) broken at compile time. Compile-time detection of
> new locking may be desirable, and I'll volunteer to change my patch to
> do that, if community members prefer that route instead of below.
I followed only a fraction of the related discussion. Thus I wonder why a
renaming of scsi_host_template.queuecommand was not part of these attempts
from the very outset.
Given the choice between compile-time breakage of unconverted drivers and
silent invalidation of potential locking assumptions at runtime, the
preferable way forward is quite clear IMO.
(Since no coexistence period of .queuecommand and .queuecommand_nl or
.unlocked_queuecommand is planned, how about you rename it to .queue_command?
Follows Linux naming conventions more closely.)
--
Stefan Richter
-=====-==-=- =-== --==-
http://arcgraph.de/sr/
next prev parent reply other threads:[~2010-11-06 9:31 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-11-05 0:24 [RFC PATCH] SCSI host lock push-down Jeff Garzik
2010-11-06 9:31 ` Stefan Richter [this message]
2010-11-07 16:54 ` Jeff Garzik
2010-11-07 8:24 ` Boaz Harrosh
2010-11-07 16:57 ` Jeff Garzik
2010-11-07 12:56 ` Andi Kleen
2010-11-09 1:28 ` Nicholas A. Bellinger
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=4CD52059.7010503@s5r6.in-berlin.de \
--to=stefanr@s5r6.in-berlin.de \
--cc=jeff@garzik.org \
--cc=linux-ide@vger.kernel.org \
--cc=linux-kernel@vger.kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox