]> git.karo-electronics.de Git - karo-tx-linux.git/commit
hpsa: reserve some commands for use by driver
authorStephen Cameron <stephenmcameron@gmail.com>
Fri, 23 Jan 2015 22:42:59 +0000 (16:42 -0600)
committerJames Bottomley <JBottomley@Parallels.com>
Mon, 2 Feb 2015 17:57:39 +0000 (09:57 -0800)
commitd54c5c24870ff4d581ce17f09d0c5fcb728c1d02
treed4ebdf43365b50dac74bca1331143dd211fd0323
parent8947fd10865db321205faa0e4123d165aff0781c
hpsa: reserve some commands for use by driver

We need to reserve some commands for device rescans,
aborts, and the pass through ioctls, etc. so we cannot
give them all to the scsi mid layer.

This is in preparation for removing cmd_special_alloc and
cmd_special_free so that we can stop queuing commands internally
in the driver so that we can remove the locks thta protect the
queue that we will no longer have.

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