]> git.baikalelectronics.ru Git - kernel.git/commit
NFS: Don't request readdirplus when revalidation was forced
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Sat, 19 Feb 2022 15:06:05 +0000 (10:06 -0500)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Wed, 2 Mar 2022 13:43:39 +0000 (08:43 -0500)
commit6ef2a26afaa13cd8c11079c0e5ae0ef31881c957
treef07861ba29c84f838b444670aafc3ae6f6f20eb1
parent3bb8e7873ce5781ba020b86ae7a40075e111d390
NFS: Don't request readdirplus when revalidation was forced

If the revalidation was forced, due to the presence of a LOOKUP_EXCL or
a LOOKUP_REVAL flag, then readdirplus won't help. It also can't help
when we're doing a path component lookup.

Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
fs/nfs/dir.c