summaryrefslogtreecommitdiff
path: root/drivers/scsi/hpsa.h
diff options
context:
space:
mode:
authorStephen M. Cameron <scameron@beardog.cce.hp.com>2011-02-15 15:32:48 -0600
committerJames Bottomley <James.Bottomley@suse.de>2011-02-18 12:31:19 -0600
commit9e0fc764eaec082cd2ffcf82568dfdd086935934 (patch)
tree85a9a3829b8e0ed285e989beb074a9c466574091 /drivers/scsi/hpsa.h
parent5767a1c498931417e69e663ddd5e110cbaabec32 (diff)
downloadlwn-9e0fc764eaec082cd2ffcf82568dfdd086935934.tar.gz
lwn-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;