aoe: allow user to disable target failure timeout
authorEd Cashin <ecashin@coraid.com>
Tue, 18 Dec 2012 00:04:14 +0000 (16:04 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 18 Dec 2012 01:15:25 +0000 (17:15 -0800)
commitc450ba0fc12153cb5d3fd582b4ec82c75217a989
tree2acf7807aed922a2bb444b8b4f67d40961372331
parent71114ec45f09eb6ef6f9d41c98d4ab6455086e58
aoe: allow user to disable target failure timeout

With this change, the aoe driver treats the value zero as special for
the aoe_deadsecs module parameter.  Normally, this value specifies the
number of seconds during which the driver will continue to attempt
retransmits to an unresponsive AoE target.  After aoe_deadsecs has
elapsed, the aoe driver marks the aoe device as "down" and fails all
I/O.

The new meaning of an aoe_deadsecs of zero is for the driver to
retransmit commands indefinitely.

Signed-off-by: Ed Cashin <ecashin@coraid.com>
Cc: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Documentation/aoe/aoe.txt
drivers/block/aoe/aoecmd.c