diff options
author | Steve French <stfrench@microsoft.com> | 2023-09-01 02:15:14 -0500 |
---|---|---|
committer | Steve French <stfrench@microsoft.com> | 2023-09-07 00:06:04 -0500 |
commit | 6a50d71d0ffff6791737eb502b27f74fb87d0cae (patch) | |
tree | ab9837e182ea816083b76aaada3f4ef71e85c591 /fs/smb/client/cifsglob.h | |
parent | feeec636b6b1cf3e6129e645411751b205c44976 (diff) | |
download | lwn-6a50d71d0ffff6791737eb502b27f74fb87d0cae.tar.gz lwn-6a50d71d0ffff6791737eb502b27f74fb87d0cae.zip |
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>
Diffstat (limited to 'fs/smb/client/cifsglob.h')
-rw-r--r-- | fs/smb/client/cifsglob.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/smb/client/cifsglob.h b/fs/smb/client/cifsglob.h index 501426ee39e7..032d8716f671 100644 --- a/fs/smb/client/cifsglob.h +++ b/fs/smb/client/cifsglob.h @@ -1210,6 +1210,7 @@ struct cifs_tcon { __u32 max_chunks; __u32 max_bytes_chunk; __u32 max_bytes_copy; + __u32 max_cached_dirs; #ifdef CONFIG_CIFS_FSCACHE u64 resource_id; /* server resource id */ struct fscache_volume *fscache; /* cookie for share */ |