Re: [PATCH] minor update for autofs4 for 2.3.99-pre5

From: H. Peter Anvin (hpa@transmeta.com)
Date: Thu Apr 13 2000 - 15:36:31 EST


Jeremy Fitzhardinge wrote:
>
> Process 2 is blocked in revalidate->try_to_fill_dentry. Revalidate
> returns 1 (valid), but it's a -ve unhashed (because of rmdir) dentry.
> Because its -ve, process 2 gets ENOENT. Later lookups generate a new
> dentry and mount attempt. Unfortunately this loses the rate-limiting
> property for this kind of failed mount (it will still work when the
> failure happens early, before daemon starts creating mount-points).
>

A positive dentry may not transition to negative, so if you have taken
the dentry from positive to negative you have violated a dcache
constraint.

Linus: is this constraint still applicable?

        -hpa

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sat Apr 15 2000 - 21:00:22 EST