login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2010
»
November
»
10
Re: Patch added to scsi-rc-fixes-2.6: [SCSI] host lock push-down
view
thread
Previous message: [thread] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From: Jeff Garzik
Subject:
Re: Patch added to scsi-rc-fixes-2.6: [SCSI] host lock push-down
Date: Wednesday, November 10, 2010 - 4:28 pm
On 11/10/2010 05:40 PM, James Bottomley wrote:
quoted text
> Your commit: > > [SCSI] host lock push-down > > Move the mid-layer's ->queuecommand() invocation from being locked > with the host lock to being unlocked to facilitate speeding up the > critical path for drivers who don't need this lock taken anyway. > > The patch below presents a simple SCSI host lock push-down as an > equivalent transformation. No locking or other behavior should change > with this patch. All existing bugs and locking orders are preserved. > > Minimal code disturbance was attempted with this change. Most drivers > needed only two one-line modifications for their host lock push-down. > > Signed-off-by: Jeff Garzik<jgarzik@redhat.com> > Signed-off-by: James Bottomley<James.Bottomley@suse.de> > > has been added to the upstream SCSI tree > You can find it here:
No comments on renaming ->queuecommand to something else? The consequences are rather dire if this goes unnoticed, yes? Jeff In
http://marc.info/?l=linux-ide&m=128891665713984&w=2
I wrote:
quoted text
> 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.
--
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [thread] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
Re: Patch added to scsi-rc-fixes-2.6: [SCSI] host lock pu ...
, Jeff Garzik
, (Wed Nov 10, 4:28 pm)
Re: Patch added to scsi-rc-fixes-2.6: [SCSI] host lock pu ...
, James Bottomley
, (Wed Nov 10, 4:45 pm)
Re: Patch added to scsi-rc-fixes-2.6: [SCSI] host lock pu ...
, Jeff Garzik
, (Wed Nov 10, 4:52 pm)
Re: Patch added to scsi-rc-fixes-2.6: [SCSI] host lock pu ...
, Nicholas A. Bellinger
, (Thu Nov 11, 1:58 am)
Navigation
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Greg KH
Og dreams of kernels
Jarek Poplawski
Re: Network slowdown due to CFS
Srikar Dronamraju
[PATCH v2 11/11] Uprobes traceevents patch.
jimmy bahuleyan
Re: how about mutual compatibility between Linux's GPLv2 and GPLv3?
Greg KH
[003/129] xen: handle events as edge-triggered
git
:
Eyvind Bernhardsen
Re: Where has "git ls-remote" reference pattern matching gone?
Junio C Hamano
Re: mingw, windows, crlf/lf, and git
Todd Zullinger
Re: [PATCH 2/2] send-email: rfc2047-quote subject lines with non-ascii characters
Shawn O. Pearce
Re: Switching from CVS to GIT
Santi Béjar
Re: How to use git-fmt-merge-msg?
git-commits-head
:
Linux Kernel Mailing List
amba: struct device - replace bus_id with dev_name(), dev_set_name()
Linux Kernel Mailing List
cpumask: make irq_set_affinity() take a const struct cpumask
Linux Kernel Mailing List
[Bluetooth] Make use of the default link policy settings
Linux Kernel Mailing List
x86/doc: mini-howto for using earlyprintk=dbgp
Linux Kernel Mailing List
geode lists are subscriber only
freebsd-current
:
Michael Moll
Re: Unable to boot on ECS K7S5A
=?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?=
Re: Root exploit for FreeBSD
FreeBSD Tinderbox
[head tinderbox] failure on ia64/ia64
Andrew Thompson
Re: USB2 makes moused insane
Garrett Cooper
Re: linux 3d applications keep crashing
linux-netdev
:
David Miller
Re: [PATCH 1/3] f_phonet: dev_kfree_skb instead of dev_kfree_skb_any in TX callback
Ramkrishna Vepa
[net-2.6 PATCH 1/10] Neterion: New driver: Driver help file
Arnaud Ebalard
Re: [REGRESSION,BISECTED] MIPv6 support broken by f4f914b58019f0
Florian Fainelli
[PATCH] cpmac: fix all checkpatch errors and warnings
Alexey Dobriyan
[PATCH v2 2/6] netns ct: per-netns /proc/net/stat/nf_conntrack , /proc/net/stat/ip...
Colocation donated by:
Syndicate