[Bug 203864] ZFS deadlock between zfs send, zfs rename and ctrl-C
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Fri Jul 1 16:07:40 UTC 2016
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=203864
--- Comment #11 from roel at 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 deadlock"
+ sleep 60
zfs rename ${newsnap} ${newsnap}_unsent
zrep_errquit Problem doing sync for $newsnap. renamed to
${newsnap}_unsent
fi
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-fs
mailing list