Re: [PATCH 9/9] nfs: don't open in ->d_revalidate

From: Miklos Szeredi
Date: Tue Mar 06 2012 - 12:11:05 EST


"Myklebust, Trond" <Trond.Myklebust@xxxxxxxxxx> writes:

> It makes a big difference to the cache miss case, since not only is the
> entire path looked up again, but the LOOKUP_REVAL flag gets set, which
> forces a full lookup of each component (as opposed to just
> revalidating).

This is not about a cache miss. It's about a cache hit (positive cached
dentry) but changed inode on the server.

Is this a likely scenario?

Thanks,
Miklos
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/