]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit - drivers/scsi/hpsa_cmd.h
hpsa: do not queue commands internally in driver
authorDon Brace <don.brace@pmcs.com>
Fri, 23 Jan 2015 22:43:09 +0000 (16:43 -0600)
committerJames Bottomley <JBottomley@Parallels.com>
Mon, 2 Feb 2015 17:57:39 +0000 (09:57 -0800)
commitf2405db8b4605732c8f0224c33b9d206e37b68c5
treef48da1a95eb05c911781d59fd3d2573971cb1fee
parent45fcb86e4663122590d243a466eb21ae45890f03
hpsa: do not queue commands internally in driver

By not doing maintaining a list of queued commands, we can eliminate some spin
locking in the main i/o path and gain significant improvement in IOPS.  Remove
the queuing code and the code that calls it; remove now-unused interrupt code;
remove DIRECT_LOOKUP_BIT.

Now that the passthru commands share the same command pool as
the main i/o path, and the total size of the pool is less than
or equal to the number of commands that will fit in the hardware
fifo, there is no need to check to see if we are exceeding the
hardware fifo's depth.

Reviewed-by: Scott Teel <scott.teel@pmcs.com>
Reviewed-by: Robert Elliott <elliott@hp.com>
Signed-off-by: Don Brace <don.brace@pmcs.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/scsi/hpsa.c
drivers/scsi/hpsa.h
drivers/scsi/hpsa_cmd.h