From: Dave Wysochanski Date: Sun, 28 Sep 2008 20:32:29 +0000 (+0200) Subject: [lib] Increase bindings file lock timeout to avoid failure of user_friendly_names X-Git-Tag: 0.4.9~189 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=669b5c11d8c82252f9697e35d183a0c840386261;p=platform%2Fupstream%2Fmultipath-tools.git [lib] Increase bindings file lock timeout to avoid failure of user_friendly_names On setups with a large number of paths / multipath maps, contention for the advisory lock on the bindings file may take longer than 3 seconds, and some multipath processes may create maps based on WWID despite having user_friendly_names set. Increasing the timeout is a simple fix that gets us a bit further. --- diff --git a/libmultipath/alias.h b/libmultipath/alias.h index 3d64b9b..fe1191b 100644 --- a/libmultipath/alias.h +++ b/libmultipath/alias.h @@ -1,4 +1,4 @@ -#define BINDINGS_FILE_TIMEOUT 3 +#define BINDINGS_FILE_TIMEOUT 30 #define BINDINGS_FILE_HEADER \ "# Multipath bindings, Version : 1.0\n" \ "# NOTE: this file is automatically maintained by the multipath program.\n" \