diff options
| author | Shreyas Siravara <sshreyas@fb.com> | 2017-07-14 18:36:54 -0700 |
|---|---|---|
| committer | Shreyas Siravara <sshreyas@fb.com> | 2017-09-08 04:53:00 +0000 |
| commit | f4bfd49009d3b5aa4a6d960f795f2e3f8e9d2762 (patch) | |
| tree | 554e247ea8043e816dcb3015eea67fab3c77c022 /cli/src/cli.c | |
| parent | 732544d5b43d1e49299cd359f1754058ec10f5a9 (diff) | |
md-cache: Allow custom per-directory timeouts
Summary:
- This diff looks for a custom xattr on a directory or file called 'trusted.glusterfs.md-cache-timeout' and uses that timeout if it finds it instead of the default timeout value for the cache.
- For example, if we know that a customer has a fixed set of directories that never change, we can set that attribute on all their directories and cache directory metadata for the lifetime of the client (NFS or FUSE) process.
- Port of D5430395 to 3.8
Reviewed By: jdarcy
Change-Id: Ieb232bc1365c59dd7c396c7a617f12973cc8ea01
Reviewed-on: https://review.gluster.org/18241
Reviewed-by: Shreyas Siravara <sshreyas@fb.com>
CentOS-regression: Gluster Build System <jenkins@build.gluster.org>
Smoke: Gluster Build System <jenkins@build.gluster.org>
Diffstat (limited to 'cli/src/cli.c')
0 files changed, 0 insertions, 0 deletions
