Message ID | 1373893230-26077-29-git-send-email-hare@suse.de (mailing list archive) |
---|---|
State | Not Applicable, archived |
Headers | show |
diff --git a/libmultipath/discovery.c b/libmultipath/discovery.c index adfb1ba..e2b4f56 100644 --- a/libmultipath/discovery.c +++ b/libmultipath/discovery.c @@ -367,7 +367,7 @@ sysfs_set_rport_tmo(struct multipath *mpp, struct path *pp) goto out; } if (mpp->fast_io_fail >= tmo) { - snprintf(value, 16, "%u", mpp->fast_io_fail); + snprintf(value, 16, "%u", mpp->fast_io_fail + 1); } } else if (mpp->dev_loss > 600) { condlog(3, "%s: limiting dev_loss_tmo to 600, since "