From 86894a740d2f1d2a4b919c47faa4be1f339e422a Mon Sep 17 00:00:00 2001 From: Ed Cashin Date: Thu, 29 Nov 2012 14:19:08 +1100 Subject: [PATCH] aoe: copy fallback timing information on destination failover commit f3b8e07af7744cbb ("aoe: commands in retransmit queue use new destination on failure") omits the copying of the coarse-grained time when an AoE command was sent during the failover from one destination MAC address on the AoE target to another. The coarse-grained timing is only used when the system time changes or an unlikely length of time has passed since the sending of the AoE command. Users will not be impacted unless their system clock is very inaccurate or something unusual (e.g., 10 GbE link reset) happens during the period when the aoe driver is handling the failure of a port on the AoE target. Being effected will mean that an AoE target could be considered "down" too eagerly. Signed-off-by: Ed Cashin Signed-off-by: Andrew Morton --- drivers/block/aoe/aoecmd.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/block/aoe/aoecmd.c b/drivers/block/aoe/aoecmd.c index d9bc6ff56f49..d609c47c599e 100644 --- a/drivers/block/aoe/aoecmd.c +++ b/drivers/block/aoe/aoecmd.c @@ -581,6 +581,7 @@ reassign_frame(struct list_head *pos) nf->waited = 0; nf->waited_total = f->waited_total; nf->sent = f->sent; + nf->sent_jiffs = f->sent_jiffs; f->skb = skb; aoe_freetframe(f); f->t->nout--; -- 2.39.5