linux_old1/drivers/scsi/qla2xxx
Jeff Garzik f281233d3e 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.

Additionally, add one parameter to queuecommand,
	struct Scsi_Host *
and remove one parameter from queuecommand,
	void (*done)(struct scsi_cmnd *)

Scsi_Host* is a convenient pointer that most host drivers need anyway,
and 'done' is redundant to struct scsi_cmnd->scsi_done.

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>
Acked-by: James Bottomley <James.Bottomley@suse.de>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2010-11-16 13:33:23 -08:00
..
Kconfig [SCSI] qla2xxx: Update firmware filenames for new ISP parts. 2008-04-07 12:19:11 -05:00
Makefile [SCSI] qla2xxx: Add ISP82XX support. 2010-05-01 14:11:17 -05:00
qla_attr.c [SCSI] qla2xxx: Avoid depending on SCSI host_lock in queuecommand function. 2010-10-25 16:04:12 -05:00
qla_bsg.c [SCSI] qla2xxx: Add flash read/update support using BSG interface 2010-10-25 16:00:40 -05:00
qla_bsg.h [SCSI] qla2xxx: Add flash read/update support using BSG interface 2010-10-25 16:00:40 -05:00
qla_dbg.c [SCSI] qla2xxx: Update copyright banner. 2010-07-28 09:06:16 -05:00
qla_dbg.h [SCSI] qla2xxx: Fix vport delete issues 2010-09-05 15:13:12 -03:00
qla_def.h [SCSI] qla2xxx: Remove port down retry count. 2010-10-25 15:57:25 -05:00
qla_devtbl.h [SCSI] qla2xxx: fix Kernel Panic with Qlogic 2472 Card. 2009-02-10 11:15:18 -05:00
qla_dfs.c [SCSI] qla2xxx: Update copyright banner. 2010-07-28 09:06:16 -05:00
qla_fw.h [SCSI] qla2xxx: Update copyright banner. 2010-07-28 09:06:16 -05:00
qla_gbl.h [SCSI] qla2xxx: Add module parameter to enable/disable GFF_ID device type check. 2010-10-25 15:58:28 -05:00
qla_gs.c [SCSI] qla2xxx: Update copyright banner. 2010-07-28 09:06:16 -05:00
qla_init.c [SCSI] qla2xxx: Avoid depending on SCSI host_lock in queuecommand function. 2010-10-25 16:04:12 -05:00
qla_inline.h [SCSI] qla2xxx: Update copyright banner. 2010-07-28 09:06:16 -05:00
qla_iocb.c [SCSI] qla2xxx: Remove scsi_cmnd->serial_number from debug traces 2010-10-25 16:02:38 -05:00
qla_isr.c [SCSI] qla2xxx: Correct PRLI failure response code handling. 2010-10-25 16:03:57 -05:00
qla_mbx.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi-misc-2.6 2010-10-22 17:34:15 -07:00
qla_mid.c [SCSI] qla2xxx: make rport deletions explicit during vport removal 2010-09-05 15:13:13 -03:00
qla_nx.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi-misc-2.6 2010-10-22 17:34:15 -07:00
qla_nx.h [SCSI] qla2xxx: Cleanup some dead-code and make some functions static. 2010-09-05 15:34:58 -03:00
qla_os.c SCSI host lock push-down 2010-11-16 13:33:23 -08:00
qla_settings.h [SCSI] qla2xxx: Update copyright banner. 2010-07-28 09:06:16 -05:00
qla_sup.c [SCSI] qla2xxx: Update copyright banner. 2010-07-28 09:06:16 -05:00
qla_version.h [SCSI] qla2xxx: Update version number to 8.03.04-k0. 2010-09-05 15:22:55 -03:00