STRUCT CEPH_SUBVOL_METRIC_SNAPSHOT(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

okay bestie, welcome to the struct ceph_subvol_metric_snapshot(9) page from the Kernel API Manual β€” it’s literally a point-in-time snapshot of subvolume metrics, and it’s giving β€œlittle struct, big main character energy.” 🫢✨


πŸ¦‹ SYNOPSIS πŸ¦‹

       struct ceph_subvol_metric_snapshot {
           u64 subvolume_id;
           u64 read_ops;
           u64 write_ops;
           u64 read_bytes;
           u64 write_bytes;
           u64 read_latency_us;
           u64 write_latency_us;
        };

πŸŽ€ Members πŸŽ€

  • subvolume_id β€” the subvolume identifier, aka the inode number of the subvolume root. iykyk πŸ’…
  • read_ops β€” number of read operations since the last snapshot. not me keeping count, but she is πŸ”₯
  • write_ops β€” number of write operations since the last snapshot. write it down, bestie ✍️
  • read_bytes β€” total bytes read since the last snapshot. bytes bytes bytes πŸ“
  • write_bytes β€” total bytes written since the last snapshot. data goes brrr πŸ’€
  • read_latency_us β€” sum of read latencies in microseconds, for avg calculation. math girl summer 😭
  • write_latency_us β€” sum of write latencies in microseconds, for avg calculation. latency said β€œnotice me” ✨

🌈 SEE ALSO 🌈

  • Kernel file ./fs/ceph/subvolume_metrics.h struct ceph_subvolume_metrics_tracker(9) β€” go read this next, bestie, it’s the linked lore πŸ‘‘πŸ¦‹

xoxo, this page is brought to you by ./fs/ceph, dated October 2026 β€” periodt, mwah πŸ’‹πŸŽ€

πŸ“¦ where this page comes from