From 8ad591aa738e0945f076a2ed28d3444177d202d4 Mon Sep 17 00:00:00 2001
From: "Alan J. Pippin" <ajp@pippins.net>
Date: Thu, 29 Jan 2009 07:39:38 -0700
Subject: [PATCH] Increased spin lock cycle time

---
 zfs-replicate | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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
-- 
2.34.1