From owner-freebsd-bugs@FreeBSD.ORG Fri Oct 25 07:10:00 2013 Return-Path: Delivered-To: freebsd-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id B201DA26 for ; Fri, 25 Oct 2013 07:10:00 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 776C521CC for ; Fri, 25 Oct 2013 07:10:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id r9P7A043021980 for ; Fri, 25 Oct 2013 07:10:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id r9P7A07C021979; Fri, 25 Oct 2013 07:10:00 GMT (envelope-from gnats) Resent-Date: Fri, 25 Oct 2013 07:10:00 GMT Resent-Message-Id: <201310250710.r9P7A07C021979@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, nikhil Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id B0FEE92A for ; Fri, 25 Oct 2013 07:07:39 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from oldred.freebsd.org (oldred.freebsd.org [8.8.178.121]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 9DF2021A4 for ; Fri, 25 Oct 2013 07:07:39 +0000 (UTC) Received: from oldred.freebsd.org ([127.0.1.6]) by oldred.freebsd.org (8.14.5/8.14.7) with ESMTP id r9P77dRP043168 for ; Fri, 25 Oct 2013 07:07:39 GMT (envelope-from nobody@oldred.freebsd.org) Received: (from nobody@localhost) by oldred.freebsd.org (8.14.5/8.14.5/Submit) id r9P77dbk043162; Fri, 25 Oct 2013 07:07:39 GMT (envelope-from nobody) Message-Id: <201310250707.r9P77dbk043162@oldred.freebsd.org> Date: Fri, 25 Oct 2013 07:07:39 GMT From: nikhil To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: kern/183293: Deadlock when modifying the zvol property of increasing the size. X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Oct 2013 07:10:00 -0000 >Number: 183293 >Category: kern >Synopsis: Deadlock when modifying the zvol property of increasing the size. >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Oct 25 07:10:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: nikhil >Release: base/stable/9 >Organization: >Environment: But the current kernel and then installed >Description: zfs enters in deadlock situation when modifying the zvol property >How-To-Repeat: Just create the volume and then do some IO on the at volume through iscsi and then increase the size of volume, it will get deadlock. >Fix: Just remove the holding the lock, rrw_enter(&dp->dp_config_rwlock, RW_WRITER, FTAG); from function, spa_sync_upgrades in file spa.c This fix is already present in base/releng/9.0 >Release-Note: >Audit-Trail: >Unformatted: