From ef9761d4df191ae989bf48f9db0640bb76f4e6fb Mon Sep 17 00:00:00 2001 From: Joshua Hoblitt Date: Thu, 11 Jun 2026 15:40:49 -0700 Subject: [PATCH] core: remove unused OSDPerfStats type The OSDPerfStats struct had no references anywhere in the repo (verified with repo-wide grep and an exported-symbol audit); the code that consumed this unmarshal target was removed long ago. Signed-off-by: Joshua Hoblitt --- pkg/daemon/ceph/client/osd.go | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/pkg/daemon/ceph/client/osd.go b/pkg/daemon/ceph/client/osd.go index b6f4e9464..446331c93 100644 --- a/pkg/daemon/ceph/client/osd.go +++ b/pkg/daemon/ceph/client/osd.go @@ -50,16 +50,6 @@ type OSDNodeUsage struct { Pgs json.Number `json:"pgs"` } -type OSDPerfStats struct { - PerfInfo []struct { - ID json.Number `json:"id"` - Stats struct { - CommitLatency json.Number `json:"commit_latency_ms"` - ApplyLatency json.Number `json:"apply_latency_ms"` - } `json:"perf_stats"` - } `json:"osd_perf_infos"` -} - type OSDDump struct { OSDs []struct { OSD json.Number `json:"osd"`