-
Notifications
You must be signed in to change notification settings - Fork 164
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Only syscall.Stat() vol paths in metrics path
Balance between syscall.Stat() everything with the aim of very accurate allocated storage usage or syscall.Stat() nothing which will miss the deltas of provisioned vs allocated storage. Don't syscall.Stat() in the child directories of each volume path. Signed-off-by: Andrew Durbin <andrewd@zededa.com>
- Loading branch information
1 parent
c784fd6
commit dd5838a
Showing
1 changed file
with
29 additions
and
13 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