From owner-freebsd-fs@FreeBSD.ORG Mon Mar 11 21:43:07 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 020F8183; Mon, 11 Mar 2013 21:43:07 +0000 (UTC) (envelope-from uros.gruber@gmail.com) Received: from mail-ie0-x233.google.com (mail-ie0-x233.google.com [IPv6:2607:f8b0:4001:c03::233]) by mx1.freebsd.org (Postfix) with ESMTP id C2B413CA; Mon, 11 Mar 2013 21:43:06 +0000 (UTC) Received: by mail-ie0-f179.google.com with SMTP id k11so5403811iea.38 for ; Mon, 11 Mar 2013 14:43:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type:content-transfer-encoding; bh=fH6dR7rX5IiZs/qX4LkoHNlucOp2Ohd/7CvgwtYXdhs=; b=EIowviBv7PunTSDYT8MCUiDC2Pdj01YncbPf4JpOb/QcRMshcPvv2MWOdsyKZTSzKJ S0YagyS46IYjxzIRtWhH9+xzvxaU0O5xNuEewv79PD09nimT6S0k5X5fl31ktipQZqTa fW5QkusJ9qXMaaX9OMEgP9MhnYxMdMKfp0aLtiMNMXxEQm299bUctFY4Ps1tH0MV+ZCg VeabmDw052yV0Uwj2zVAPT9SjEWO8pO+zQFpjy26I9INw4jhvbu0bSo64qQ2n05pqNk4 IVjCDTMgH7ICDaUfP+oSl/B6keGNoZwk1QFRjf/F8nwcP0RJjotwVn4/+IREfk6qm72a AyWA== MIME-Version: 1.0 X-Received: by 10.50.151.179 with SMTP id ur19mr8954487igb.79.1363038186181; Mon, 11 Mar 2013 14:43:06 -0700 (PDT) Received: by 10.64.26.166 with HTTP; Mon, 11 Mar 2013 14:43:06 -0700 (PDT) In-Reply-To: <513E4B0B.3090807@FreeBSD.org> References: <513E4B0B.3090807@FreeBSD.org> Date: Mon, 11 Mar 2013 22:43:06 +0100 Message-ID: Subject: Re: zfs hang with umount From: =?UTF-8?B?VXJvxaEgR3J1YmVy?= To: Andriy Gapon Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 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:43:07 -0000 Hi Andriy, can you tell me more about this or what was the cause for this so I can avoid it until 9.2 is released. I don't want to jump on 9-STABLE and maybe have more problems with some other stuff. regards Uros On 11 March 2013 22:22, Andriy Gapon wrote: > on 11/03/2013 20:20 Uro=C5=A1 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