summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJohannes Thumshirn <johannes.thumshirn@wdc.com>2025-10-22 14:41:00 +0300
committerJens Axboe <axboe@kernel.dk>2025-10-22 20:14:05 +0300
commita65988a0ad047dbdb8a1eb6f07540b980858b522 (patch)
treebb3b0e6688350ce468345973235e0bec6177a7b6 /include
parent5c5028ee594ce5f907ca6ad1c32cca6a15098464 (diff)
downloadlinux-a65988a0ad047dbdb8a1eb6f07540b980858b522.tar.xz
blktrace: only calculate trace length once
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@lst.de> Reviewed-by: Damien Le Moal <dlemoal@kernel.org> Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com> Signed-off-by: Johannes Thumshirn <johannes.thumshirn@wdc.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions