Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1945973AbbDXUww (ORCPT ); Fri, 24 Apr 2015 16:52:52 -0400 Received: from mout.gmx.net ([212.227.17.20]:61066 "EHLO mout.gmx.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757274AbbDXUwv (ORCPT ); Fri, 24 Apr 2015 16:52:51 -0400 Message-ID: <553AAD18.90807@gmx.de> Date: Fri, 24 Apr 2015 22:52:40 +0200 From: Lino Sanfilippo User-Agent: Mozilla/5.0 (X11; Linux i686; rv:31.0) Gecko/20100101 Thunderbird/31.6.0 MIME-Version: 1.0 To: Andrew Morton , Huang Ying CC: Linus Torvalds , LKML , LKP ML Subject: Re: [LKP] [fanotify] 66ba93c0d7f: i6300esb: Unexpected close, not stopping watchdog! References: <1429770338.25120.2.camel@intel.com> <20150424104209.83834f6a22442b11086a501c@linux-foundation.org> In-Reply-To: <20150424104209.83834f6a22442b11086a501c@linux-foundation.org> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:8bX8sOM8LPQwSjHRJ2a/9PysvVgL9r4xFwFCv5ylp3ZwFrTdlvT DiI8AuHXxVsEoLRMS4jwHaXOkk6wbtdGvPZmv6e+EQNyksgMU3B0XBtcTHLRUco5OH4rDBB WUQa2ORpXIpIuy1IJLPB8/8tPqpwokavGEyeUF2ANT2CBWp4e2U5dnvvem1jD0xKmC25u4P 6/SfVrcceV98z9uyGHw6w== X-UI-Out-Filterresults: notjunk:1; Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1781 Lines: 43 On 24.04.2015 19:42, Andrew Morton wrote: > On Thu, 23 Apr 2015 14:25:38 +0800 Huang Ying wrote: > >> FYI, we noticed the below changes on >> >> git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master >> commit 66ba93c0d7fe63def447ad0afe380307ff9ebcad ("fanotify: don't set FAN_ONDIR implicitly on a marks ignored mask") >> >> When doing LTP test. Test system hang after doing some fanotify test cases, while system >> can run to reboot in the parent comments. > > Thanks. I've queued a reversion patch. I'll hold off sending it to > Linus for a while, to see if we can get this fixed up. > > > What does "hang" mean? Was the machine all locked up? Or is it the > case that the particular LTP test failed to complete? I suspect the > latter - that the new notify behaviour is differing from LTP's > expectation in some fashion? > Hi, I think your suspicion is right, it looks like an issue that has been reported a few weeks ago: http://marc.info/?l=linux-kernel&m=142688498719023&w=2 The reason was not in kernel code though (as assumed by the reporter) but a missing FAN_ONDIR in the code of the fanotify02 test case (that flag was not needed before since it was set implicitly under certain conditions - see the commit message of 66ba93c0d7fe63def447ad0afe380307ff9ebcad for details). The code has been fixed in the latest version of LTP. I tested fanotify with this version (20150420) and all tests passed. Huang could it be that you did not use the latest LTP? Regards, Lino -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/