From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from helmsgagent01.f-secure.com ([193.110.108.21]:45786 "EHLO helmsgagent01.f-secure.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750731AbdAYPUV (ORCPT ); Wed, 25 Jan 2017 10:20:21 -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> <87r33rryjp.fsf@drapion.f-secure.com> Date: Wed, 25 Jan 2017 17:20:13 +0200 In-Reply-To: (Amir Goldstein's message of "Wed, 25 Jan 2017 16:54:46 +0200") Message-ID: <87inp3rwsy.fsf@drapion.f-secure.com> MIME-Version: 1.0 Content-Type: text/plain Sender: linux-fsdevel-owner@vger.kernel.org List-ID: Amir Goldstein : > I see. I guess it shouldn't block. Also with this understanding, I am > not sure Jan's work is relevant to your issue. I have narrowed the problem down a bit in the kernel. The hanging function is "user_path_at": user_path_at(filename="/sshome/test/user/", lookup_flags=0x1) called from: fanotify_find_path() called from: fanotify_mark() And Ctrl-C wakes it up. Marko