Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 01 Jul 2016 16:07:40 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-fs@FreeBSD.org
Subject:   [Bug 203864] ZFS deadlock between zfs send, zfs rename and ctrl-C
Message-ID:  <bug-203864-3630-9NiWOvdxv4@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-203864-3630@https.bugs.freebsd.org/bugzilla/>
References:  <bug-203864-3630@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D203864

--- Comment #11 from roel@qsp.nl ---
That's not that hard:

*** /home/roel/zrep     Wed Jan 13 22:12:27 2016
--- zrep        Sun Feb 21 13:24:35 2016
***************
*** 1160,1164 ****
        if [[ $? -ne 0 ]] ; then
                zfs rename ${newsnap} ${newsnap}_unsent
                zrep_errquit Problem doing sync for $newsnap. renamed to
${newsnap}_unsent
        fi
---
        if [[ $? -ne 0 ]] ; then
+               echo "Error on send.. waiting 60 seconds to prevent deadloc=
k"
+               sleep 60
                zfs rename ${newsnap} ${newsnap}_unsent
                zrep_errquit Problem doing sync for $newsnap. renamed to
${newsnap}_unsent
        fi

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-203864-3630-9NiWOvdxv4>