Re: [autofs] [PATCH] autofs4: reinstate negatitive timeout of mount fails

2007-08-22 Thread Ian Kent
On Wed, 2007-08-22 at 17:55 +0800, Ian Kent wrote: > On Tue, 2007-08-21 at 10:19 -0400, Peter Staubach wrote: > > Ian Kent wrote: > > > Hi, > > > > > > Due to a change to fs/dcache.c:d_lookup() in the 2.6 kernel whereby only > > > hashed dentrys are returned the negative caching of mount failures >

Re: [PATCH] autofs4: reinstate negatitive timeout of mount fails

2007-08-22 Thread Ian Kent
On Tue, 2007-08-21 at 10:19 -0400, Peter Staubach wrote: > Ian Kent wrote: > > Hi, > > > > Due to a change to fs/dcache.c:d_lookup() in the 2.6 kernel whereby only > > hashed dentrys are returned the negative caching of mount failures > > stopped working in the autofs4 module for nobrowse mount (ie

Re: [autofs] [PATCH] autofs4: reinstate negatitive timeout of mount fails

2007-08-21 Thread Ian Kent
On Wed, 2007-08-22 at 10:56 +0800, Ian Kent wrote: > On Tue, 2007-08-21 at 13:15 -0700, Andrew Morton wrote: > > > > It seems to use a lot of list_for_each[_safe] which could > > have been coded as list_for_each_entry[_safe], btw. > > Mmm .. good point. I've not noticed the list_for_each_entry* m

Re: [PATCH] autofs4: reinstate negatitive timeout of mount fails

2007-08-21 Thread Ian Kent
On Tue, 2007-08-21 at 13:15 -0700, Andrew Morton wrote: > On Tue, 21 Aug 2007 17:26:09 +0800 > Ian Kent <[EMAIL PROTECTED]> wrote: > > > Due to a change to fs/dcache.c:d_lookup() in the 2.6 kernel whereby only > > hashed dentrys are returned the negative caching of mount failures > > stopped worki

Re: [PATCH] autofs4: reinstate negatitive timeout of mount fails

2007-08-21 Thread Ian Kent
On Tue, 2007-08-21 at 10:19 -0400, Peter Staubach wrote: > Ian Kent wrote: > > Hi, > > > > Due to a change to fs/dcache.c:d_lookup() in the 2.6 kernel whereby only > > hashed dentrys are returned the negative caching of mount failures > > stopped working in the autofs4 module for nobrowse mount (ie

Re: [PATCH] autofs4: reinstate negatitive timeout of mount fails

2007-08-21 Thread Andrew Morton
On Tue, 21 Aug 2007 17:26:09 +0800 Ian Kent <[EMAIL PROTECTED]> wrote: > Due to a change to fs/dcache.c:d_lookup() in the 2.6 kernel whereby only > hashed dentrys are returned the negative caching of mount failures > stopped working in the autofs4 module for nobrowse mount (ie. directory > created

Re: [PATCH] autofs4: reinstate negatitive timeout of mount fails

2007-08-21 Thread Peter Staubach
Ian Kent wrote: Hi, Due to a change to fs/dcache.c:d_lookup() in the 2.6 kernel whereby only hashed dentrys are returned the negative caching of mount failures stopped working in the autofs4 module for nobrowse mount (ie. directory created at mount time and removed at umount or following a mount

[PATCH] autofs4: reinstate negatitive timeout of mount fails

2007-08-21 Thread Ian Kent
Hi, Due to a change to fs/dcache.c:d_lookup() in the 2.6 kernel whereby only hashed dentrys are returned the negative caching of mount failures stopped working in the autofs4 module for nobrowse mount (ie. directory created at mount time and removed at umount or following a mount failure). This