With Linux 6.6 the KSMBD server is no longer “experimental” while this new kernel on the SMB3 client side also brings a notable addition: the new “dir_cache_timeout” option to control the cache time for directory contents…
Source: Phoronix – Linux 6.6 SMB Client To Allow Adjusting Cache Time For Directory Contents