summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/lpfc/lpfc_disc.h
diff options
context:
space:
mode:
authorJames.Smart@Emulex.Com <James.Smart@Emulex.Com>2005-11-28 17:42:38 +0100
committerJames Bottomley <jejb@mulgrave.(none)>2005-12-14 02:35:09 +0100
commit445cf4f4d2aa28f6ddd1d7a5f0986341ad61ec91 (patch)
tree4a26741b03835b44e266ce4799f4e35cc3800e6f /drivers/scsi/lpfc/lpfc_disc.h
parent[SCSI] lpfc 8.1.1 : Add polled-mode support (diff)
downloadlinux-445cf4f4d2aa28f6ddd1d7a5f0986341ad61ec91.tar.xz
linux-445cf4f4d2aa28f6ddd1d7a5f0986341ad61ec91.zip
[SCSI] lpfc 8.1.1 : Added code to adjust lun queue depth to avoid target overloading
Signed-off-by: James Smart <James.Smart@emulex.com> Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/scsi/lpfc/lpfc_disc.h')
-rw-r--r--drivers/scsi/lpfc/lpfc_disc.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/scsi/lpfc/lpfc_disc.h b/drivers/scsi/lpfc/lpfc_disc.h
index 084e7628ce17..ed6c81660e03 100644
--- a/drivers/scsi/lpfc/lpfc_disc.h
+++ b/drivers/scsi/lpfc/lpfc_disc.h
@@ -73,6 +73,8 @@ struct lpfc_nodelist {
struct lpfc_hba *nlp_phba;
struct lpfc_work_evt nodev_timeout_evt;
struct lpfc_work_evt els_retry_evt;
+ unsigned long last_ramp_up_time; /* jiffy of last ramp up */
+ unsigned long last_q_full_time; /* jiffy of last queue full */
};
/* Defines for nlp_flag (uint32) */