diff options
author | Martin Brandenburg <martin@omnibond.com> | 2016-07-25 19:58:24 +0200 |
---|---|---|
committer | Martin Brandenburg <martin@omnibond.com> | 2016-08-02 21:38:46 +0200 |
commit | 4cd8f319441a323280eaa0acf390ffb18c64d86b (patch) | |
tree | b64d935d9222a34a55d09d6363823bb50466e636 /fs/orangefs/orangefs-mod.c | |
parent | orangefs: Cache getattr results. (diff) | |
download | linux-4cd8f319441a323280eaa0acf390ffb18c64d86b.tar.xz linux-4cd8f319441a323280eaa0acf390ffb18c64d86b.zip |
orangefs: Allow dcache and getattr cache time to be configured.
Signed-off-by: Martin Brandenburg <martin@omnibond.com>
Diffstat (limited to 'fs/orangefs/orangefs-mod.c')
-rw-r--r-- | fs/orangefs/orangefs-mod.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/orangefs/orangefs-mod.c b/fs/orangefs/orangefs-mod.c index 6f072a8c0de1..1caef0aab63e 100644 --- a/fs/orangefs/orangefs-mod.c +++ b/fs/orangefs/orangefs-mod.c @@ -47,6 +47,8 @@ struct client_debug_mask client_debug_mask = { NULL, 0, 0 }; unsigned int kernel_mask_set_mod_init; /* implicitly false */ int op_timeout_secs = ORANGEFS_DEFAULT_OP_TIMEOUT_SECS; int slot_timeout_secs = ORANGEFS_DEFAULT_SLOT_TIMEOUT_SECS; +int dcache_timeout_msecs = 1000; +int getattr_timeout_msecs = 1000; MODULE_LICENSE("GPL"); MODULE_AUTHOR("ORANGEFS Development Team"); |