aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/fcoe/fcoe.h
diff options
context:
space:
mode:
authorVasu Dev <vasu.dev@intel.com>2009-05-06 13:52:40 -0400
committerJames Bottomley <James.Bottomley@HansenPartnership.com>2009-06-08 14:29:14 -0400
commit1047f22108bd9bfedefd3ff014cb56691dfbaa3f (patch)
tree1c651877a07e81d9be009dfe5cd95fc2b127584c /drivers/scsi/fcoe/fcoe.h
parent4bb6b5153313269b4b328f4f5ddc558c45c50713 (diff)
[SCSI] fcoe: removes fcoe_watchdog
Removes periodic fcoe_watchdog timer used across all fcoe interface maintained in fcoe_hostlist instead added new fcoe_queue_timer per fcoe interface. Added timer is armed only when some pending skb need to be flushed as oppose to periodic 1 second fcoe_watchdog, since now fcoe_queue_timer is used on demand thus set this to 2 jiffies. Now fcoe_queue_timer is much simple than fcoe_watchdog using lock to process all fcoe interface from fcoe_hostlist. I noticed +ve performance result with using 2 jiffies timer as this helps flushing fcoe_pending_queue quickly. Signed-off-by: Vasu Dev <vasu.dev@intel.com> Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Diffstat (limited to 'drivers/scsi/fcoe/fcoe.h')
-rw-r--r--drivers/scsi/fcoe/fcoe.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/scsi/fcoe/fcoe.h b/drivers/scsi/fcoe/fcoe.h
index 917aae886897..a1eb8c1988b0 100644
--- a/drivers/scsi/fcoe/fcoe.h
+++ b/drivers/scsi/fcoe/fcoe.h
@@ -61,6 +61,7 @@ struct fcoe_softc {
61 struct packet_type fip_packet_type; 61 struct packet_type fip_packet_type;
62 struct sk_buff_head fcoe_pending_queue; 62 struct sk_buff_head fcoe_pending_queue;
63 u8 fcoe_pending_queue_active; 63 u8 fcoe_pending_queue_active;
64 struct timer_list timer; /* queue timer */
64 struct fcoe_ctlr ctlr; 65 struct fcoe_ctlr ctlr;
65}; 66};
66 67