From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from helmsgmaster01.f-secure.com ([193.110.108.20]:40841 "EHLO helmsgmaster01.f-secure.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750870AbdAYOml (ORCPT ); Wed, 25 Jan 2017 09:42:41 -0500 From: Marko Rauhamaa To: Amir Goldstein CC: linux-fsdevel , Jan Kara Subject: Re: Reproducible, long-standing fanotify+autofs problem References: <878tpztl6n.fsf@drapion.f-secure.com> <87vat3s087.fsf@drapion.f-secure.com> Date: Wed, 25 Jan 2017 16:42:34 +0200 In-Reply-To: (Amir Goldstein's message of "Wed, 25 Jan 2017 16:11:06 +0200") Message-ID: <87r33rryjp.fsf@drapion.f-secure.com> MIME-Version: 1.0 Content-Type: text/plain Sender: linux-fsdevel-owner@vger.kernel.org List-ID: Amir Goldstein : > On Wed, Jan 25, 2017 at 4:06 PM, Marko Rauhamaa > wrote: >> Amir Goldstein : > So I am confused. > Your test program sets a watch on permission events on the mount > and does not respond to permission events on the mount, so all > file system operations on the mount SHOULD be blocked. > What am I missing? The problem is that the fanotify_mark() system call is hanging and as a side effect blocks everything. The side effect is probably completely understandable, but fanotify_mark() should never hang, should it? Marko -- +358 44 990 4795 Skype: marko.rauhamaa_f-secure