Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chimera: do not maintain time-based cached value of FsStat
NFS server by itself can cache the results of fsstat. JdbcFs sill keeps a cached result, but it updated on demand. Nevertheless, as this is a time consuming operation, start an extra thread to perform the update. As long as update is still in the progress, the last value is returned. The update part takes care that only one thread is started in parallel. Introduce two new properties: nfs.fs-stat-cache.time nfs.fs-stat-cache.time.unit which will turn on caching in the nfs server. Acked-by: Gerd Behrmann Acked-by: Dmitry Litvintsev Target: master Target: 2.12, 2.11, 2.10 in the future Require-book: no Require-notes: yes (cherry picked from commit f1f765d) Signed-off-by: Tigran Mkrtchyan <tigran.mkrtchyan@desy.de>
- Loading branch information
Showing
3 changed files
with
66 additions
and
39 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters