[Bug 203864] ZFS deadlock between zfs send, zfs rename and ctrl-C
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Sun Feb 21 12:47:26 UTC 2016
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=203864
--- Comment #6 from roel at qsp.nl ---
We've run into this exact same issue using the zrep script. It's easily
reproducable. The deadlock occurs when a "zfs rename" is executed while there
is still a "zfs send" process running.
In zrep, this occurs when a zfs receive on the remote hosts fails and zrep
immediately attempts to rename a snapshot. However, the zfs send process is
still running (cleaning up?) and this causes an immediate deadlock.
Any zfs process run after that immediately blocks in state
"zpa_namespace_lock". IO continues to work, but fails at some point in the
future. I've not diagnosed the exact trigger that causes IO to seize.
The only resolution is to power cycle the system.
I've just attached the output to a procstat -kk -a from yesterday when I ran
into this.
Running on 10.3-PRERELEASE FreeBSD 10.3-PRERELEASE #1 r294572
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-fs
mailing list