diff options
author | James Smart <James.Smart@Emulex.Com> | 2008-09-07 11:52:04 -0400 |
---|---|---|
committer | James Bottomley <James.Bottomley@HansenPartnership.com> | 2008-10-13 09:28:57 -0400 |
commit | 977b5a0af6d22a1a0170057c19cde37eeac68acd (patch) | |
tree | 247128ab00aa554eca5366ff8fb3505930729eaf /drivers/scsi/lpfc/lpfc_disc.h | |
parent | b522d7d42d7ce843885d4c6740c5bd50876a2971 (diff) |
[SCSI] lpfc 8.2.8 v2 : Add sysfs control of target queue depth handling
Added new sysfs attribute lpfc_max_scsicmpl_time. Attribute, when enabled,
will control target queue depth based on I/O completion time.
Signed-off-by: James Smart <james.smart@emulex.com>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Diffstat (limited to 'drivers/scsi/lpfc/lpfc_disc.h')
-rw-r--r-- | drivers/scsi/lpfc/lpfc_disc.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/scsi/lpfc/lpfc_disc.h b/drivers/scsi/lpfc/lpfc_disc.h index 2db0b74b6fad..ccf8f41f345e 100644 --- a/drivers/scsi/lpfc/lpfc_disc.h +++ b/drivers/scsi/lpfc/lpfc_disc.h | |||
@@ -88,6 +88,9 @@ struct lpfc_nodelist { | |||
88 | unsigned long last_ramp_up_time; /* jiffy of last ramp up */ | 88 | unsigned long last_ramp_up_time; /* jiffy of last ramp up */ |
89 | unsigned long last_q_full_time; /* jiffy of last queue full */ | 89 | unsigned long last_q_full_time; /* jiffy of last queue full */ |
90 | struct kref kref; | 90 | struct kref kref; |
91 | atomic_t cmd_pending; | ||
92 | uint32_t cmd_qdepth; | ||
93 | unsigned long last_change_time; | ||
91 | }; | 94 | }; |
92 | 95 | ||
93 | /* Defines for nlp_flag (uint32) */ | 96 | /* Defines for nlp_flag (uint32) */ |