OSDN Git Service

smb3: allow controlling maximum number of cached directories
authorSteve French <stfrench@microsoft.com>
Fri, 1 Sep 2023 07:15:14 +0000 (02:15 -0500)
committerSteve French <stfrench@microsoft.com>
Thu, 7 Sep 2023 05:06:04 +0000 (00:06 -0500)
commit6a50d71d0ffff6791737eb502b27f74fb87d0cae
treeab9837e182ea816083b76aaada3f4ef71e85c591
parentfeeec636b6b1cf3e6129e645411751b205c44976
smb3: allow controlling maximum number of cached directories

Allow adjusting the maximum number of cached directories per share
(defaults to 16) via mount parm "max_cached_dirs"

Signed-off-by: Steve French <stfrench@microsoft.com>
fs/smb/client/cached_dir.c
fs/smb/client/cached_dir.h
fs/smb/client/cifsfs.c
fs/smb/client/cifsglob.h
fs/smb/client/connect.c
fs/smb/client/fs_context.c
fs/smb/client/fs_context.h