From owner-freebsd-fs@FreeBSD.ORG Mon Mar 11 21:22:32 2013 Return-Path: Delivered-To: freebsd-fs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 9514F940 for ; Mon, 11 Mar 2013 21:22:32 +0000 (UTC) (envelope-from avg@FreeBSD.org) Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id E80912A0 for ; Mon, 11 Mar 2013 21:22:31 +0000 (UTC) Received: from porto.starpoint.kiev.ua (porto-e.starpoint.kiev.ua [212.40.38.100]) by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id XAA08615; Mon, 11 Mar 2013 23:22:22 +0200 (EET) (envelope-from avg@FreeBSD.org) Received: from localhost ([127.0.0.1]) by porto.starpoint.kiev.ua with esmtp (Exim 4.34 (FreeBSD)) id 1UFAAo-0005M9-6s; Mon, 11 Mar 2013 23:22:22 +0200 Message-ID: <513E4B0B.3090807@FreeBSD.org> Date: Mon, 11 Mar 2013 23:22:19 +0200 From: Andriy Gapon User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130220 Thunderbird/17.0.3 MIME-Version: 1.0 To: =?windows-1252?Q?Uro=9A_Gruber?= Subject: Re: zfs hang with umount References: In-Reply-To: X-Enigmail-Version: 1.5.1 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 8bit Cc: freebsd-fs@FreeBSD.org X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Mar 2013 21:22:32 -0000 on 11/03/2013 20:20 Uroš Gruber said the following: > Hi, > > I don't know what causes this, but while stopping one of jails I also > run zfs inherit mountpoint on this jails fs. This jail was in stopping > state at this moment. Process than hanged in D state. Then I was doing > some stuff on the server, and while "zfs unmount -f" of that fs, > server chrased. Now everytime I wan't to unmount that fs process hang. > I've managed to send & receive this fs to other fs and mounted > sucessfuly. > > Before I reboot and try to destroy this fs, here is output of procstat > -k PID (zfs umount zroot/myfs) > > PID TID COMM TDNAME KSTACK > 3937 100559 zfs - mi_switch > sleepq_timedwait _sleep zfs_zget zfs_get_data zil_commit > zfs_freebsd_write VOP_WRITE_APV vnode_pager_generic_putpages > vnode_pager_putpages vm_pageout_flush vm_object_page_collect_flush > vm_object_page_clean vm_object_terminate vnode_destroy_vobject > zfs_freebsd_reclaim vgonel vflush > > Is there anything I can check or is this know bug? > > Server is running on 9.1-RELEASE This should be fixed in stable/9. -- Andriy Gapon