Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dcache-xroot: improve efficiency of stat list (ls -l)
Motivation: The xroot ls command has some unnecessary overhead. First, it does not need to query file locality; second, it does not need to know file state in case of POSC. It would seem proper for those attributes to be checked by a client by issuing an individual stat on the file. Modification: Fork the `getFileStatus` functionality so that stat listing (i.e., `ls -l`) is separate from a full stat request; in the former case, `STORAGEINFO` is not requested and a call to the `PoolMonitor` for file locality is avoided. Result: `ls -l` returns in approximately the same amount of time as a non-stat listing `ls`. Target: master Request: 9.1 Request: 9.0 Request: 8.2 Patch: https://rb.dcache.org/r/14055/ Requires-notes: yes Acked-by: Tigran
- Loading branch information
1 parent
2a9e49a
commit 1af82e7
Showing
2 changed files
with
28 additions
and
5 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