Re: [PATCH v2 01/15] blktrace: only calculate trace length once
From: Damien Le Moal
Date: Wed Oct 01 2025 - 02:13:57 EST
On 9/26/25 00:02, 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().
>
> Reviewed-by: Christoph Hellwig <hch@xxxxxx>
> Signed-off-by: Johannes Thumshirn <johannes.thumshirn@xxxxxxx>
Reviewed-by: Damien Le Moal <dlemoal@xxxxxxxxxx>
--
Damien Le Moal
Western Digital Research