Thread (1 message) 1 message, 1 author, 1d ago

Re: [PATCH] blktrace: build the synthesized v1 record from the entry's own layout

From: Donggeun Yoo <hidden>
Date: 2026-09-13 06:37:41
Also in: linux-trace-kernel, lkml, sashiko-reviews

On Sun, 13 Sep 2026 03:10:30 +0000, sashiko-bot@kernel.org wrote:
- [Medium] Size-based differentiation between v1 and v2 events causes v1
entries with a large PDU (>= 16 bytes) to be misidentified as v2 entries,
scrambling output fields and truncating the PDU.
Correct. A v1 record carrying a 16-byte BLK_TA_REMAP PDU is 64 bytes, the
size of a v2 record, and nothing else in the entry tells them apart.

v2 drops the size test and depends on Adriano Cordova's "blktrace: always
record ftrace events as blk_io_trace2" instead:

  https://lore.kernel.org/all/20260913063155.708520-1-donggeunyoo.kernel@gmail.com/ (local)
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help