From owner-freebsd-bugs@freebsd.org Mon Oct 19 07:12:59 2015 Return-Path: Delivered-To: freebsd-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id BAAC4A104B8 for ; Mon, 19 Oct 2015 07:12:59 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id A609D123 for ; Mon, 19 Oct 2015 07:12:59 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id t9J7CxxP057062 for ; Mon, 19 Oct 2015 07:12:59 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 203864] ZFS deadlock between zfs send, zfs rename and ctrl-C Date: Mon, 19 Oct 2015 07:12:59 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 11.0-CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: peter@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-bugs@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Oct 2015 07:12:59 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=203864 Bug ID: 203864 Summary: ZFS deadlock between zfs send, zfs rename and ctrl-C Product: Base System Version: 11.0-CURRENT Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: kern Assignee: freebsd-bugs@FreeBSD.org Reporter: peter@FreeBSD.org I tried to abort a zfs send: 07:06:26 2.28G zroot/j/jails/admin-svn@daily.31 07:06:27 2.29G zroot/j/jails/admin-svn@daily.31 ^C load: 1.27 cmd: zfs 72318 [tx->tx_sync_done_cv] 101.46r 0.00u 1.89s 0% 4212k load: 0.84 cmd: zfs 72318 [tx->tx_sync_done_cv] 127.51r 0.00u 1.89s 0% 4212k load: 0.84 cmd: zfs 72318 [tx->tx_sync_done_cv] 127.98r 0.00u 1.89s 0% 4212k It turns out the freebsd-snapshot cron was running at that very instant and it lead to a deadlock: # ps -axl | grep tx 0 74866 72290 0 20 0 40336 3528 tx->tx_s D - 0:00.00 zfs rename zroot/j/jails/monitor@hourly.15 zroot/j/jails/monitor@hourly.16 0 72318 69290 0 20 0 42520 4228 tx->tx_s DE+ 0 0:01.89 zfs send -Rv zroot/j/jails/admin-svn@sync.00 I've seen this before but never quite at such a bad time. Neither can be kill -9'ed. -- You are receiving this mail because: You are the assignee for the bug.