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/dcache.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/dcache.c')
-rw-r--r-- | fs/orangefs/dcache.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/orangefs/dcache.c b/fs/orangefs/dcache.c index dcb55bbb0b69..2521af6707f7 100644 --- a/fs/orangefs/dcache.c +++ b/fs/orangefs/dcache.c @@ -73,7 +73,7 @@ static int orangefs_revalidate_lookup(struct dentry *dentry) } } - dentry->d_time = jiffies + HZ; + dentry->d_time = jiffies + dcache_timeout_msecs*HZ/1000; ret = 1; out_release_op: op_release(new_op); |