Re: [PATCH 06/16] blktrace: only calculate trace length once

Christoph Hellwig <[email protected]> Fri, 19 Sep 2025 17:09:46 +0200
Newsgroups org.kernel.vger.linux-btrace,org.kernel.vger.linux-block,org.kernel.vger.linux-kernel,org.kernel.vger.linux-trace-kernel
Message-ID <[email protected]>
On Tue, Sep 09, 2025 at 01:06:01PM +0200, Johannes Thumshirn wrote:
> De-duplicate the calculation of the trace length instead of doing the
> calculation twice, once for calling trace_buffer_lock_reserve() and once
> for calling relay_reserve().

Looks good:

Reviewed-by: Christoph Hellwig <[email protected]>

would be nice if these cleanups were at the beginning of the series
before adding new data structures, though.