]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit - drivers/scsi/hpsa.c
hpsa: count passthru cmds with atomics, not a spin locked int
authorDon Brace <don.brace@pmcs.com>
Fri, 23 Jan 2015 22:43:46 +0000 (16:43 -0600)
committerJames Bottomley <JBottomley@Parallels.com>
Mon, 2 Feb 2015 17:57:41 +0000 (09:57 -0800)
commit34f0c6277c686b191936cc321faebd15b28f9ece
treef2ef7d5a9f24993e1b6bd86ac667ae31d3ecb289
parent33811026a0a4208dd5725183d37fc92d5e88b0a2
hpsa: count passthru cmds with atomics, not a spin locked int

Performance enhancement. Remove spin_locks from the driver.

Reviewed-by: Scott Teel <scott.teel@pmcs.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