diff options
author | Wayne Boyer <wayneb@linux.vnet.ibm.com> | 2011-03-31 12:56:10 -0400 |
---|---|---|
committer | James Bottomley <James.Bottomley@suse.de> | 2011-05-01 11:16:44 -0400 |
commit | ab6c10b136d5f8eb856a0f17247edc7c19805e1b (patch) | |
tree | 63bcd2a53dd4268ad57dd8acc64400be62075cc0 /drivers/scsi/ipr.h | |
parent | c9c2a14047447251838334045e7af99b3b15f725 (diff) |
[SCSI] ipr: fix synchronous request flags for better performance
In testing it was noticed that Extended Delay after Reset flag was being set
for gscsi and volume set devices. This had a negative effect on performance
for volume sets. The fix is to only set the flag for gscsi devices.
Signed-off-by: Wayne Boyer <wayneb@linux.vnet.ibm.com>
Acked-by: Brian King <brking@linux.vnet.ibm.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'drivers/scsi/ipr.h')
-rw-r--r-- | drivers/scsi/ipr.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/ipr.h b/drivers/scsi/ipr.h index 13f425fb8851..11b2dac71ab3 100644 --- a/drivers/scsi/ipr.h +++ b/drivers/scsi/ipr.h | |||
@@ -474,7 +474,7 @@ struct ipr_cmd_pkt { | |||
474 | 474 | ||
475 | u8 flags_lo; | 475 | u8 flags_lo; |
476 | #define IPR_FLAGS_LO_ALIGNED_BFR 0x20 | 476 | #define IPR_FLAGS_LO_ALIGNED_BFR 0x20 |
477 | #define IPR_FLAGS_LO_DELAY_AFTER_RST 0x10 | 477 | #define IPR_FLAGS_LO_DELAY_AFTER_RST 0x10 |
478 | #define IPR_FLAGS_LO_UNTAGGED_TASK 0x00 | 478 | #define IPR_FLAGS_LO_UNTAGGED_TASK 0x00 |
479 | #define IPR_FLAGS_LO_SIMPLE_TASK 0x02 | 479 | #define IPR_FLAGS_LO_SIMPLE_TASK 0x02 |
480 | #define IPR_FLAGS_LO_ORDERED_TASK 0x04 | 480 | #define IPR_FLAGS_LO_ORDERED_TASK 0x04 |