aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/block/aoe/aoe.h
diff options
context:
space:
mode:
authorEd L. Cashin <ecashin@coraid.com>2006-09-20 14:36:49 -0400
committerGreg Kroah-Hartman <gregkh@suse.de>2006-10-18 15:53:50 -0400
commitdced3a053dd5415a7321e1ae153c96dea644da4e (patch)
treeeffc221b2b7b2f2cb39996ed834c279ce409e7e7 /drivers/block/aoe/aoe.h
parentddec63e86752b89776547e93aa68af01f1cbb10c (diff)
aoe: improve retransmission heuristics
Add a dynamic minimum timer for better retransmission behavior. Signed-off-by: "Ed L. Cashin" <ecashin@coraid.com> Acked-by: Alan Cox <alan@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/block/aoe/aoe.h')
-rw-r--r--drivers/block/aoe/aoe.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/drivers/block/aoe/aoe.h b/drivers/block/aoe/aoe.h
index 4d79f1eaf708..7b1121748633 100644
--- a/drivers/block/aoe/aoe.h
+++ b/drivers/block/aoe/aoe.h
@@ -125,8 +125,10 @@ struct aoedev {
125 ulong sysminor; 125 ulong sysminor;
126 ulong aoemajor; 126 ulong aoemajor;
127 ulong aoeminor; 127 ulong aoeminor;
128 ulong nopen; /* (bd_openers isn't available without sleeping) */ 128 u16 nopen; /* (bd_openers isn't available without sleeping) */
129 ulong rttavg; /* round trip average of requests/responses */ 129 u16 lasttag; /* last tag sent */
130 u16 rttavg; /* round trip average of requests/responses */
131 u16 mintimer;
130 u16 fw_ver; /* version of blade's firmware */ 132 u16 fw_ver; /* version of blade's firmware */
131 u16 maxbcnt; 133 u16 maxbcnt;
132 struct work_struct work;/* disk create work struct */ 134 struct work_struct work;/* disk create work struct */
@@ -142,7 +144,6 @@ struct aoedev {
142 mempool_t *bufpool; /* for deadlock-free Buf allocation */ 144 mempool_t *bufpool; /* for deadlock-free Buf allocation */
143 struct list_head bufq; /* queue of bios to work on */ 145 struct list_head bufq; /* queue of bios to work on */
144 struct buf *inprocess; /* the one we're currently working on */ 146 struct buf *inprocess; /* the one we're currently working on */
145 ulong lasttag; /* last tag sent */
146 ushort lostjumbo; 147 ushort lostjumbo;
147 ushort nframes; /* number of frames below */ 148 ushort nframes; /* number of frames below */
148 struct frame *frames; 149 struct frame *frames;