From: Alan J. Pippin <ajp@pippins.net>
Date: Thu, 29 Jan 2009 14:39:38 +0000 (-0700)
Subject: Increased spin lock cycle time
X-Git-Url: http://git.pippins.net/%7Bupdate_day%7D?a=commitdiff_plain;h=8ad591aa738e0945f076a2ed28d3444177d202d4;p=zfs-ubuntu%2F.git

Increased spin lock cycle time
---

diff --git a/zfs-replicate b/zfs-replicate
index 347bcbe..83acdd1 100755
--- a/zfs-replicate
+++ b/zfs-replicate
@@ -92,7 +92,7 @@ set -x
 # Create the remote lockdir before continuing with the replicate
 # Spinlock on creating the lock
 maxsleeptime=60
-maxattempts=100
+maxattempts=400
 attempts=0
 while true; do
   ssh $remote mkdir "$lockdir" >/dev/null 2>&1