Re: [PATCH v2 00/15] ceph: add binary logging (BLOG) for CephFS
Max Kellermann <[email protected]> Wed, 8 Jul 2026 00:02:28 +0200
| Newsgroups | org.kernel.vger.ceph-devel |
|---|---|
| Message-ID | <CAKPOu+9D=++vF+gkXrVNHMmyNYg+RmQpNHJQ51+qmEkk1DeQ9A@mail.gmail.com> |
On Tue, Jul 7, 2026 at 11:51 PM Alex Markuze <[email protected]> wrote: > > Add a lightweight binary logging subsystem for CephFS that replaces the > existing dout/doutc text-based debug logging with a binary-serialized > format. Log entries are stored in per-task 128KB page-fragment buffers > and exposed through debugfs for offline analysis. Why don't you use tracepoints instead of adding this huge complex subsystem? I mean, 5000 lines of code for something that invents a new (and undocumented) tracing framework with no existing tools. Tracepoints were made for exactly this and there's plenty of good tooling. Everything that does eBPF can easily interact with tracepoints. Last year, my Ceph tracepoint patch was merged: https://lore.kernel.org/ceph-devel/[email protected]/ It would be easy to add more tracepoints to Ceph (and replace all dout() calls with tracepoints). -- Max Kellermann Principal Architect Hosting Technology cm4all | Im Mediapark 6a | 50670 Köln | Germany General information about the company can be found here: https://www.cm4all.com/impressum A member of the IONOS Group