Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
libmultipath: don't set dev_loss_tmo to 0 for NO_PATH_RETRY_FAIL
If pp->dev_loss is DEV_LOSS_TMO_UNSET and min_dev_loss is 0 (which is the case if no_path_retry is NO_PATH_RETRY_FAIL or NO_PATH_RETRY_UNDEF), we will set pp->dev_loss to 0, which is wrong. Fix it. Fixes: 058b5f5 ("libmultipath: fix dev_loss_tmo even if not set in configuration") Signed-off-by: Martin Wilck <[email protected]>
- Loading branch information