According to the process in select_checker() and get_state(), sysfs_get_timeout should return 1 in normal case. --- libmultipath/discovery.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libmultipath/discovery.c b/libmultipath/discovery.c index 126a54f..cd3443d 100644 --- a/libmultipath/discovery.c +++ b/libmultipath/discovery.c @@ -271,7 +271,7 @@ sysfs_get_timeout(struct path *pp, unsigned int *timeout) } *timeout = t; - return 0; + return 1; } int -- 1.8.3.4 |
-- dm-devel mailing list dm-devel@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/dm-devel