]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
aoe: failover remote interface based on aoe_deadsecs parameter
authorEd Cashin <ecashin@coraid.com>
Thu, 13 Sep 2012 01:01:34 +0000 (11:01 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Mon, 17 Sep 2012 10:46:22 +0000 (20:46 +1000)
commit6511eb54e4dff0d0c4a0c12a91c0d0da979a9fa9
tree354e36c235d3089df81cca9de6e61e25d4676a29
parentebb81a26886913b816e4123bf672f085af55b568
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>
drivers/block/aoe/aoe.h
drivers/block/aoe/aoecmd.c