Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965100AbVITTkL (ORCPT ); Tue, 20 Sep 2005 15:40:11 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S965101AbVITTkL (ORCPT ); Tue, 20 Sep 2005 15:40:11 -0400 Received: from smtp.osdl.org ([65.172.181.4]:60090 "EHLO smtp.osdl.org") by vger.kernel.org with ESMTP id S965100AbVITTkJ (ORCPT ); Tue, 20 Sep 2005 15:40:09 -0400 Date: Tue, 20 Sep 2005 12:39:52 -0700 (PDT) From: Linus Torvalds To: John McCutchan cc: Al Viro , Andrew Morton , Linux Kernel , Robert Love , Al Viro Subject: Re: [patch] stop inotify from sending random DELETE_SELF event under load In-Reply-To: Message-ID: References: <1127188015.17794.6.camel@vertex> <20050920042456.GC7992@ftp.linux.org.uk> <1127190971.18595.5.camel@vertex> <20050920044623.GD7992@ftp.linux.org.uk> <1127191992.19093.3.camel@vertex> <20050920045835.GE7992@ftp.linux.org.uk> <1127192784.19093.7.camel@vertex> <20050920051729.GF7992@ftp.linux.org.uk> <76677C3D-D5E0-4B5A-800F-9503DA09F1C3@tentacle.dhs.org> <20050920163848.GO7992@ftp.linux.org.uk> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 653 Lines: 26 On Tue, 20 Sep 2005, John McCutchan wrote: > > Okay here are some cases to help you get a better idea, The case that is _interesting_ is this one: ln /tmp/foo /tmp/bar p1: watch /tmp/foo and then one or both of (different orders - four cases): p2: rm /tmp/bar p2: rm /tmp/foo (along with "fd = open(/tmp/foo) + rm /tmp/foo + sleep + close(fd)" of course, which Al already pointed out). Linus - 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/