Commit 2c2c3365 authored by Trond Myklebust's avatar Trond Myklebust

NFS: Readdirplus can't help lookup for case insensitive filesystems

If the filesystem is case insensitive, then readdirplus can't help with
cache misses, since it won't return case folded variants of the filename.
Signed-off-by: default avatarTrond Myklebust <trond.myklebust@hammerspace.com>
parent c49c6894
......@@ -696,6 +696,8 @@ void nfs_readdir_record_entry_cache_miss(struct inode *dir)
static void nfs_lookup_advise_force_readdirplus(struct inode *dir)
{
if (nfs_server_capable(dir, NFS_CAP_CASE_INSENSITIVE))
return;
nfs_readdir_record_entry_cache_miss(dir);
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment