Skip to content
Commit 66414e80 authored by Tal Shorer's avatar Tal Shorer Committed by Christoph Hellwig
Browse files

nvme-fabrics: fix ctrl_loss_tmo < 0 to reconnect forever



When the user supplies a ctrl_loss_tmo < 0, we warn them that this will
cause the fabrics layer to attempt reconnection forever.  However, in
reality the fabrics layer never attempts to reconnect because the
condition to test whether we should reconnect is backwards in this case.

Signed-off-by: default avatarTal Shorer <tal.shorer@gmail.com>
Reviewed-by: default avatarChaitanya Kulkarni <chaitanya.kulkarni@wdc.com>
Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
parent dedf0be5
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment