diff --git a/bcache/get.go b/bcache/get.go index c4747ea53..0040b28ed 100644 --- a/bcache/get.go +++ b/bcache/get.go @@ -459,7 +459,7 @@ func GetStats(uuidPath string, priorityStats bool) (*Stats, error) { bds.FiveMin.CacheReadaheads = par.readValue("cache_readaheads") // dir //stats_total - par.setSubDir("stats_total") + par.setSubDir(bds.Name, "stats_total") bds.Total.Bypassed = par.readValue("bypassed") bds.Total.CacheBypassHits = par.readValue("cache_bypass_hits") bds.Total.CacheBypassMisses = par.readValue("cache_bypass_misses")