summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/hpsa.h
diff options
context:
space:
mode:
authorStephen M. Cameron <scameron@beardog.cce.hp.com>2011-02-15 22:32:48 +0100
committerJames Bottomley <James.Bottomley@suse.de>2011-02-18 19:31:19 +0100
commit9e0fc764eaec082cd2ffcf82568dfdd086935934 (patch)
tree85a9a3829b8e0ed285e989beb074a9c466574091 /drivers/scsi/hpsa.h
parent[SCSI] ipr: Fix a race on multiple configuration changes (diff)
downloadlinux-9e0fc764eaec082cd2ffcf82568dfdd086935934.tar.xz
linux-9e0fc764eaec082cd2ffcf82568dfdd086935934.zip
[SCSI] hpsa: do not re-order commands in internal queues
Driver's internal queues should be FIFO, not LIFO. This is a port of an almost identical patch from cciss by Jens Axboe. Signed-off-by: Stephen M. Cameron <scameron@beardog.cce.hp.com> Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'drivers/scsi/hpsa.h')
-rw-r--r--drivers/scsi/hpsa.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/scsi/hpsa.h b/drivers/scsi/hpsa.h
index 074d237f4497..e89819342364 100644
--- a/drivers/scsi/hpsa.h
+++ b/drivers/scsi/hpsa.h
@@ -75,8 +75,8 @@ struct ctlr_info {
struct access_method access;
/* queue and queue Info */
- struct hlist_head reqQ;
- struct hlist_head cmpQ;
+ struct list_head reqQ;
+ struct list_head cmpQ;
unsigned int Qdepth;
unsigned int maxQsinceinit;
unsigned int maxSG;