aoe: failover remote interface based on aoe_deadsecs parameter
authorEd Cashin <ecashin@coraid.com>
Fri, 5 Oct 2012 00:16:29 +0000 (17:16 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 5 Oct 2012 18:05:26 +0000 (03:05 +0900)
commitd54d35ac6605161a593e3f4411de338ef81b5263
tree369561cb1495afc77a918ab6e36d9b47512b4e8c
parent3f0f0133747368fe0fcf3908f788b53591bff4e0
aoe: failover remote interface based on aoe_deadsecs parameter

The aoe_deadsecs module parameter allows the user to specify a hard limit
on the number of seconds an AoE command can be retransmitted before the
AoE block device is considered to have failed.

Using aoe_deadsecs to determine the time we try using a different remote
interface helps to ensure that the hard limit is not reached before we've
tried to recover by sending to a different remote port.

As a data storage target, the AoE target is unambiguously identified by
its {major, minor} AoE address tuple, and an AoE target can have multiple
MAC addresses.  However, note that "target" in the driver code and
comments means a {major, minor, MAC address} tuple, as in "somewhere to
send packets".

Signed-off-by: Ed Cashin <ecashin@coraid.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/block/aoe/aoe.h
drivers/block/aoe/aoecmd.c
This page took 0.027402 seconds and 5 git commands to generate.