aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/event_analyzing_sample.py
diff options
context:
space:
mode:
authorSteve French <[email protected]>2023-08-31 03:48:41 +0000
committerSteve French <[email protected]>2023-08-31 15:06:36 +0000
commit238b351d0935df568ecb3dc5aef25971778f0f7c (patch)
tree1effd48a53e69677b6c7f1c70ea5d373c295a6b7 /tools/perf/scripts/python/event_analyzing_sample.py
parentsmb: propagate error code of extract_sharename() (diff)
downloadkernel-238b351d0935df568ecb3dc5aef25971778f0f7c.tar.gz
kernel-238b351d0935df568ecb3dc5aef25971778f0f7c.zip
smb3: allow controlling length of time directory entries are cached with dir leases
Currently with directory leases we cache directory contents for a fixed period of time (default 30 seconds) but for many workloads this is too short. Allow configuring the maximum amount of time directory entries are cached when a directory lease is held on that directory. Add module load parm "max_dir_cache" For example to set the timeout to 10 minutes you would do: echo 600 > /sys/module/cifs/parameters/dir_cache_timeout or to disable caching directory contents: echo 0 > /sys/module/cifs/parameters/dir_cache_timeout Reviewed-by: Bharath SM <[email protected]> Signed-off-by: Steve French <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions