Increased spin lock cycle time
authorAlan J. Pippin <ajp@pippins.net>
Thu, 29 Jan 2009 14:39:38 +0000 (07:39 -0700)
committerAlan J. Pippin <ajp@pippins.net>
Thu, 29 Jan 2009 14:39:38 +0000 (07:39 -0700)
zfs-replicate

index 347bcbe4ad4223872e5450d0b509ebb6d0d88b5c..83acdd13280e2cdb2ab99aa04c3796b0c18e4bed 100755 (executable)
@@ -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