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 { ...@@ -156,13 +156,6 @@ func (ms *MountState) Latencies() *LatencyMap {
return ms.latencies 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 { func (ms *MountState) BufferPoolStats() string {
s := ms.opts.Buffers.String() s := ms.opts.Buffers.String()
......
...@@ -361,16 +361,6 @@ func (fs *AutoUnionFs) DebugData() string { ...@@ -361,16 +361,6 @@ func (fs *AutoUnionFs) DebugData() string {
fs.mountState.BufferPoolStats(), fs.mountState.BufferPoolStats(),
&setting) &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 { if fs.connector != nil {
msg += fmt.Sprintf("Live inodes: %d\n", fs.connector.InodeHandleCount()) 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