-
Notifications
You must be signed in to change notification settings - Fork 136
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pool: Reduce number of stat calls in Bekeley DB backend
Motivation: Java 7 introduced a new API for querying file attributes as a bulk operation. Modification: Use Files.getFileAttributes to read all file attributes in a single stat system call. Restructure replica creation and replica loading to reduce duplicated or unnecessary stat calls further. Result: No user visible changes. Target: trunk Require-notes: no Require-book: no Acked-by: Albert Rossi <arossi@fnal.gov> Acked-by: Dmitry Litvintsev <litvinse@fnal.gov> Reviewed at https://rb.dcache.org/r/9426/
- Loading branch information
Showing
2 changed files
with
30 additions
and
32 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