On Fri, May 24, 2002 at 12:12:16PM -0400, Alexander Viro wrote:
> On Fri, 24 May 2002, Andrea Arcangeli wrote:
> > The fs access will be exactly the same, only the dentry won't be
> > allocated because it's just in the hash, but it has no inode and it
> > doesn't correspond to any on-disk dentry, we simply cannot defer the
> Lookup on a name that has hashed negative dentry does not touch fs code.
> At all.
of course I was thinking mostly at the unlink procedure, I see the point
now in having the information that no dentry exists on disk with such
name. that's an heuristic to optimize some common case but the unlink
and a create failure should definitely get rid of the negative dentry,
it's not a common case to delete a file and then to try to access it,
while there are common cases that wants to avoid stale dentries around
for deleted files.
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to firstname.lastname@example.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Fri May 31 2002 - 22:00:13 EST