[pve-devel] [PATCH cluster v2 2/3] cfs_lock: include lockid in timeout error

Thomas Lamprecht t.lamprecht at proxmox.com
Mon Nov 6 12:44:49 CET 2017


helps debugging
---

new in v2

 data/PVE/Cluster.pm | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/data/PVE/Cluster.pm b/data/PVE/Cluster.pm
index f0708a0..f634c84 100644
--- a/data/PVE/Cluster.pm
+++ b/data/PVE/Cluster.pm
@@ -878,8 +878,7 @@ my $cfs_lock = sub {
 	    die "$msg: pve cluster filesystem not online.\n";
 	}
 
-        local $SIG{ALRM} = sub { die "got lock request timeout\n"; };
-
+        local $SIG{ALRM} = sub { die "$msg: got lock request timeout\n"; };
         alarm ($timeout);
 
 	if (!(mkdir $filename)) {
-- 
2.11.0





More information about the pve-devel mailing list