Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S964878AbVITEaL (ORCPT ); Tue, 20 Sep 2005 00:30:11 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S964881AbVITEaK (ORCPT ); Tue, 20 Sep 2005 00:30:10 -0400 Received: from smtp.osdl.org ([65.172.181.4]:50150 "EHLO smtp.osdl.org") by vger.kernel.org with ESMTP id S964878AbVITEaI (ORCPT ); Tue, 20 Sep 2005 00:30:08 -0400 Date: Mon, 19 Sep 2005 21:30:01 -0700 (PDT) From: Linus Torvalds To: Al Viro cc: John McCutchan , Andrew Morton , Linux Kernel , Robert Love , Al Viro Subject: Re: [patch] stop inotify from sending random DELETE_SELF event under load In-Reply-To: <20050920042456.GC7992@ftp.linux.org.uk> Message-ID: References: <1127177337.15262.6.camel@vertex> <1127181641.16372.10.camel@vertex> <1127188015.17794.6.camel@vertex> <20050920042456.GC7992@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: 808 Lines: 23 On Tue, 20 Sep 2005, Al Viro wrote: > > Uhh... I still don't understand which behaviour do you want. > > * removal of this link, postponed to indefinite future (until we > do not have any users of that dentry) [ new behaviour ] > * moment when the last link is gone _and_ nobody uses any dentries > pointing to object, with information taken from the last one still in use > [ old behaviour ] Old behaviour (well, "old" is relative) is apparently the expected one. But the old behaviour had a bug: we _also_ call dentry_iput() for non-deletes. 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/