From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dave Hansen Subject: Re: [PATCH 1/3] enhanced lookup ESTALE error handling (v3) Date: Mon, 10 Mar 2008 15:19:44 -0700 Message-ID: <1205187584.8385.6.camel@nimitz.home.sr71.net> References: <4790C761.1010603@redhat.com> <47A387CF.70201@redhat.com> <47D598C5.7080609@redhat.com> <20080310143832.08ad52a9.akpm@linux-foundation.org> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit Cc: akpm-de/tnXTf+JLsfHDXvbKv3WD2FQJk+8+b@public.gmane.org, staubach-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org, linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-nfs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, trond.myklebust-41N18TsMXrtuMpJDpNschA@public.gmane.org, linux-fsdevel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, viro-RmSDqhL/yNMiFSDQTTA3OLVCufUGDwFn@public.gmane.org, hch-jcswGhMUV9g@public.gmane.org To: Miklos Szeredi Return-path: In-Reply-To: Sender: linux-nfs-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-Id: linux-fsdevel.vger.kernel.org On Mon, 2008-03-10 at 23:03 +0100, Miklos Szeredi wrote: > > > This is a patch to enhance ESTALE error handling during the > > > lookup process. The error, ESTALE, can occur when out of data > > > dentries, stored in the dcache, is used to translate a pathname > > > component to a dentry. When this occurs, the dentry which > > > contains the pointer to the inode which refers to the non-existent > > > file is dropped from the dcache and then the lookup process > > > started again. Care is taken to ensure that forward process is > > > always being made. If forward process is not detected, then the > > > lookup process is terminated and the error, ENOENT, is returned > > > to the caller. > > > > This collides in non-trivial ways with the always-coming-never-arrives > > r-o-bind-mounts patches. > > > > I have an old version of those patches in -mm and I believe that Al > > is/was/has set up some git tree with these patches and perhaps other stuff. Al's tree is here: http://git.kernel.org/gitweb.cgi?p=linux/kernel/git/viro/vfs-2.6.git;a=summary It's probably best to try and base your patches on top of there. -- Dave -- To unsubscribe from this list: send the line "unsubscribe linux-nfs" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html