From owner-freebsd-fs@freebsd.org Thu Sep 7 19:14:38 2017 Return-Path: Delivered-To: freebsd-fs@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 3C856E099FD for ; Thu, 7 Sep 2017 19:14:38 +0000 (UTC) (envelope-from Nikolaus@rath.org) Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) (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 D8FD57D628 for ; Thu, 7 Sep 2017 19:14:37 +0000 (UTC) (envelope-from Nikolaus@rath.org) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id AFBE620D5D for ; Thu, 7 Sep 2017 15:14:35 -0400 (EDT) Received: from frontend1 ([10.202.2.160]) by compute1.internal (MEProxy); Thu, 07 Sep 2017 15:14:35 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc:x-sasl-enc; s= fm1; bh=WzxXWu86TcDIooD6UvprJkgR9/SsGXqyiIeYNoUlv3I=; b=r1zH6JTe AOa3Z+PqDHpzn7K/3jzYNDb93sNN/iIMxbeEVCGCYYuW51wxL/nI2Yr9TZnR+nY+ xLwqk87nJ3pdOeEVbPJ0n7jZ4tzXKD6hR27qeofbVtKeLbE/41OgtvibnbkUGFjx Scvu4ZFOVyJP+PvPBPMCs8kZmBhVDefRKbYiHUmzQ9TqBhopb57E8MH0ASlV8OjS cYJoWA5mwq//TcjHQcDjPIZI4h53VdV4XaDMlMlHwIKDVPrrRk56kKvTJnDvQHaz cnW48ZCytHw6h/Ps1ony4kOv4b4GMSoaM7VzMbKw7za1hoAD7aF3Dv/H87o75NuW SWRYk5ncuaBz/g== X-ME-Sender: X-Sasl-enc: NyK5mJReodyFPwLz68e3DIKy+p0oxAeerhFEtJBvwqFL 1504811675 Received: from ebox.rath.org (ebox.rath.org [45.79.69.51]) by mail.messagingengine.com (Postfix) with ESMTPA id 757C37F982 for ; Thu, 7 Sep 2017 15:14:35 -0400 (EDT) Received: from thinkpad.rath.org (thinkpad [192.168.12.2]) by ebox.rath.org (Postfix) with ESMTPS id 6E8A2115 for ; Thu, 7 Sep 2017 19:14:34 +0000 (UTC) Received: by thinkpad.rath.org (Postfix, from userid 1000) id 44B56BFEE0; Thu, 7 Sep 2017 21:14:32 +0200 (CEST) From: Nikolaus Rath To: freebsd-fs@freebsd.org Subject: Re: umount() taking minutes for FUSE filesystems References: <87bmn44ruu.fsf@vostro.rath.org> <87o9qyrbs8.fsf@vostro.rath.org> <2FAD66DE-031B-4B36-9E85-C7BC6B52B5E6@gmail.com> <29de6425-9f92-3bd8-f446-1c9dded33b15@freebsd.org> <87k21dzdrp.fsf@thinkpad.rath.org> <201709051811.v85IBmbO005440@higson.cam.lispworks.com> Mail-Copies-To: never Mail-Followup-To: freebsd-fs@freebsd.org Date: Thu, 07 Sep 2017 21:14:32 +0200 In-Reply-To: <201709051811.v85IBmbO005440@higson.cam.lispworks.com> (Martin Simmons's message of "Tue, 5 Sep 2017 19:11:48 +0100") Message-ID: <87ingugw2v.fsf@thinkpad.rath.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Sep 2017 19:14:38 -0000 On Sep 05 2017, Martin Simmons wrote: >> Probably the crucial difference is that the test that takes long exits >> its main loop on its own and then informs the FUSE kernel module about >> that, while the other tests terminate the main loop because the kernel >> module tells them to do so. > > What does "informs the FUSE kernel module about that" do to inform it? It calls unmount. https://github.com/libfuse/libfuse/blob/master/lib/mount_bsd.c#L127 Best, Nikolaus --=20 GPG Fingerprint: ED31 791B 2C5C 1613 AF38 8B8A D113 FCAC 3C4E 599F =C2=BBTime flies like an arrow, fruit flies like a Banana.=C2= =AB