]> git.karo-electronics.de Git - karo-tx-linux.git/commit
aoe: commands in retransmit queue use new destination on failure
authorEd Cashin <ecashin@coraid.com>
Fri, 9 Nov 2012 03:05:16 +0000 (14:05 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Mon, 12 Nov 2012 04:17:36 +0000 (15:17 +1100)
commitf3b8e07af7744cbb5ee092cfb44c136d0b3bd914
tree062100d40dd4abb1d1e98e33cfec1a80aa5ccb36
parentace7abd5fe5dd73a36251dfb58a3c4a7f0677313
aoe: commands in retransmit queue use new destination on failure

When one remote MAC address isn't working as a destination for AoE
commands, the frames used to track information associated with the AoE
commands are moved to a new aoetgt (defined by the tuple of {AoE major,
AoE minor, target MAC address}).

This patch makes sure that the frames on the queue for retransmits that
need to be done are updated to use the new destination, so that
retransmits will be sent through a working network path.

Signed-off-by: Ed Cashin <ecashin@coraid.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
drivers/block/aoe/aoe.h
drivers/block/aoe/aoecmd.c
drivers/block/aoe/aoedev.c