summaryrefslogtreecommitdiffstats
path: root/fs/cifs/fs_context.c
diff options
context:
space:
mode:
authorSteve French <stfrench@microsoft.com>2021-02-23 23:16:09 +0100
committerSteve French <stfrench@microsoft.com>2021-02-25 18:47:46 +0100
commitddaf6d4a9253939036fa70d71534e482ee7413f6 (patch)
tree8e5e63566bf5030925cb915564a7494561a88b86 /fs/cifs/fs_context.c
parentcifs: Add new mount parameter "acdirmax" to allow caching directory metadata (diff)
downloadlinux-ddaf6d4a9253939036fa70d71534e482ee7413f6.tar.xz
linux-ddaf6d4a9253939036fa70d71534e482ee7413f6.zip
cifs: convert revalidate of directories to using directory metadata cache timeout
The new optional mount parm, "acdirmax" allows caching the metadata for a directory longer than file metadata, which can be very helpful for performance. Convert cifs_inode_needs_reval to check acdirmax for revalidating directory metadata. Signed-off-by: Steve French <stfrench@microsoft.com> Reviewed-by: Ronnie Sahlberg <lsahlber@redhat.com> Reviewed-By: Tom Talpey <tom@talpey.com> Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'fs/cifs/fs_context.c')
0 files changed, 0 insertions, 0 deletions