Commit f2a679a9 authored by Han-Wen Nienhuys's avatar Han-Wen Nienhuys

Drop MountState.OperationCounts(), and trim autounionfs debug output.

parent 602f461b
......@@ -156,13 +156,6 @@ func (ms *MountState) Latencies() *LatencyMap {
return ms.latencies
}
func (ms *MountState) OperationCounts() map[string]int {
if ms.latencies == nil {
return nil
}
return ms.latencies.Counts()
}
func (ms *MountState) BufferPoolStats() string {
s := ms.opts.Buffers.String()
......
......@@ -361,16 +361,6 @@ func (fs *AutoUnionFs) DebugData() string {
fs.mountState.BufferPoolStats(),
&setting)
lat := fs.mountState.Latencies()
if len(lat) > 0 {
msg += fmt.Sprintf("Latencies: %v\n", lat)
}
counts := fs.mountState.OperationCounts()
if len(counts) > 0 {
msg += fmt.Sprintf("Op counts: %v\n", counts)
}
if fs.connector != nil {
msg += fmt.Sprintf("Live inodes: %d\n", fs.connector.InodeHandleCount())
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment