aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/block/aoe/aoe.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/block/aoe/aoe.h')
-rw-r--r--drivers/block/aoe/aoe.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/drivers/block/aoe/aoe.h b/drivers/block/aoe/aoe.h
index 9e884acd75fc..9fb68fc3b280 100644
--- a/drivers/block/aoe/aoe.h
+++ b/drivers/block/aoe/aoe.h
@@ -88,8 +88,7 @@ enum {
88 TIMERTICK = HZ / 10, 88 TIMERTICK = HZ / 10,
89 RTTSCALE = 8, 89 RTTSCALE = 8,
90 RTTDSCALE = 3, 90 RTTDSCALE = 3,
91 MAXTIMER = HZ << 1, 91 RTTAVG_INIT = USEC_PER_SEC / 4 << RTTSCALE,
92 RTTAVG_INIT = HZ / 4 << RTTSCALE,
93 RTTDEV_INIT = RTTAVG_INIT / 4, 92 RTTDEV_INIT = RTTAVG_INIT / 4,
94}; 93};
95 94
@@ -106,6 +105,8 @@ struct buf {
106struct frame { 105struct frame {
107 struct list_head head; 106 struct list_head head;
108 u32 tag; 107 u32 tag;
108 struct timeval sent; /* high-res time packet was sent */
109 u32 sent_jiffs; /* low-res jiffies-based sent time */
109 ulong waited; 110 ulong waited;
110 struct aoetgt *t; /* parent target I belong to */ 111 struct aoetgt *t; /* parent target I belong to */
111 sector_t lba; 112 sector_t lba;
@@ -143,11 +144,11 @@ struct aoedev {
143 struct aoedev *next; 144 struct aoedev *next;
144 ulong sysminor; 145 ulong sysminor;
145 ulong aoemajor; 146 ulong aoemajor;
147 u32 rttavg; /* scaled AoE round trip time average */
148 u32 rttdev; /* scaled round trip time mean deviation */
146 u16 aoeminor; 149 u16 aoeminor;
147 u16 flags; 150 u16 flags;
148 u16 nopen; /* (bd_openers isn't available without sleeping) */ 151 u16 nopen; /* (bd_openers isn't available without sleeping) */
149 u16 rttavg; /* scaled AoE round trip time average */
150 u16 rttdev; /* scaled round trip time mean deviation */
151 u16 fw_ver; /* version of blade's firmware */ 152 u16 fw_ver; /* version of blade's firmware */
152 u16 lasttag; /* last tag sent */ 153 u16 lasttag; /* last tag sent */
153 u16 useme; 154 u16 useme;