From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christoph Hellwig Subject: Re: [PATCH] ext3 [linux-2.6.2.]: accessing already freed inodes when under memory pressure Date: Fri, 2 Apr 2004 21:59:35 +0100 Sender: linux-fsdevel-owner@vger.kernel.org Message-ID: <20040402215935.A7990@infradead.org> References: <1080653969.24117.192.camel@hades.cambridge.redhat.com> <20040402161223.GZ31500@parcelfarce.linux.theplanet.co.uk> <20040402180111.GB31500@parcelfarce.linux.theplanet.co.uk> <20040402191752.GB653@mail.shareable.org> <20040402204057.GD653@mail.shareable.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Linus Torvalds , viro@parcelfarce.linux.theplanet.co.uk, David Woodhouse , Martin Schwidefsky , Andrew Morton , Carsten Otte , Carsten Otte , linux-fsdevel@vger.kernel.org, sct@redhat.com, Dave Kleikamp Return-path: Received: from phoenix.infradead.org ([213.86.99.234]:37894 "EHLO phoenix.infradead.org") by vger.kernel.org with ESMTP id S264173AbUDBU7u (ORCPT ); Fri, 2 Apr 2004 15:59:50 -0500 To: Jamie Lokier Content-Disposition: inline In-Reply-To: <20040402204057.GD653@mail.shareable.org>; from jamie@shareable.org on Fri, Apr 02, 2004 at 09:40:57PM +0100 List-Id: linux-fsdevel.vger.kernel.org On Fri, Apr 02, 2004 at 09:40:57PM +0100, Jamie Lokier wrote: > Then there are programs such as optimised Make and cacheing systems > and servers which use dnotify. dnotify is reliable for single-linked > files, and when there are multiple links, it's still reliable if you > discover all the st_nlink paths to a file. However, it isn't reliable > if there are any bind mounts, because you don't know whether you have > all paths to a file (without grubbing inside /proc/mounts, and that > has race conditions anyway). bind mounts aside how are these programs supposed to work with multiple mounts of the same filesystem at different mountpoints, possibly in totally different namespaces? In short everything using dnotify is buggy anyway..