From: Masami Hiramatsu (Google) <mhiramat@kernel.org>
To: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Cc: Jens Axboe <axboe@kernel.dk>,
Steven Rostedt <rostedt@goodmis.org>,
Masami Hiramatsu <mhiramat@kernel.org>,
Mathieu Desnoyers <mathieu.desnoyers@efficios.com>,
linux-block@vger.kernel.org, linux-kernel@vger.kernel.org,
linux-trace-kernel@vger.kernel.org, linux-btrace@vger.kernel.org,
John Garry <john.g.garry@oracle.com>,
Hannes Reinecke <hare@suse.de>,
Damien Le Moal <dlemoal@kernel.org>,
Christoph Hellwig <hch@lst.de>,
Naohiro Aota <naohiro.aota@wdc.com>,
Shinichiro Kawasaki <shinichiro.kawasaki@wdc.com>,
Chaitanya Kulkarni <chaitanyak@nvidia.com>,
"Martin K . Petersen" <martin.petersen@oracle.com>
Subject: Re: [PATCH 00/21] blktrace: Add user-space support for zoned command tracing
Date: Sun, 14 Sep 2025 18:18:23 +0900 [thread overview]
Message-ID: <20250914181823.a17382ac3a039dc4a8257578@kernel.org> (raw)
In-Reply-To: <20250909110723.75676-1-johannes.thumshirn@wdc.com>
Hi Johannes,
On Tue, 9 Sep 2025 13:07:02 +0200
Johannes Thumshirn <johannes.thumshirn@wdc.com> wrote:
> This patch series extends the user-space blktrace tools to support the new
> trace events for zoned block device commands introduced in the corresponding
> kernel patch series.
I guess this series are patches against for user-space blktrace tool
https://git.kernel.dk/?p=blktrace.git
And the updates depends on the kernel side update of your series;
https://lore.kernel.org/all/20250909110611.75559-1-johannes.thumshirn@wdc.com/
Right?
I'm not sure how the blktrace tool development is managed, but please make
sure this series is not for the kernel. (ah, both has blktrace: tag, hmmm)
Thank you,
>
> The updates include:
>
> - Introduction of a new ioctl requesting the v2 version of the trace
> - Definitions for new zoned operation trace events.
> - Parsing support in blkparse for these events.
> - Display of the new events with clear labeling (e.g., ZO, ZA, ZR).
> - Backward-compatible changes that do not affect existing functionality.
>
> These changes complement the kernel patches and allow full visibility into
> zone management commands in blktrace output, enabling better analysis and
> debugging of zoned storage workloads.
>
> The updated blktrace utility will first issue the BLKTRACESETUP2 ioctl and if
> it fails transpartently fall back to BLKTRACESETUP allowing backwards
> compatibility.
>
> Feedback and testing on additional device types are appreciated.
>
> Johannes Thumshirn (21):
> fix comment for struct blk_trace_setup:
> add definitions for BLKTRACESETUP2
> call BLKTRACESETUP2 ioctl per default to setup a trace
> blktrace: change size of action to 64 bits
> blktrace: add definitions for blk_io_trace2
> blktrace: support protocol version 8
> blkparse: pass magic to get_magic
> blkparse: read 'magic' first
> blkparse: factor out reading of a singe blk_io_trace event
> blkparse: skip unsupported protocol versions
> blkparse: make get_pdulen() take the pdu_len
> blkiomon: read 'magic' first
> blktrace: pass magic to CHECK_MAGIC macro
> blktrace: pass magic to verify_trace
> blktrace: rename trace_to_cpu to bit_trace_to_cpu
> blkparse: use blk_io_trace2 internally
> blkparse: natively parse blk_io_trace2
> blkparse: parse zone (un)plug actions
> blkparse: add zoned commands to fill_rwbs()
> blkparse: parse zone management commands
> blkparse: parse zone append completions
>
> act_mask.c | 4 +-
> blkiomon.c | 15 +-
> blkparse.c | 450 ++++++++++++++++++++++++++++++++++---------------
> blkparse_fmt.c | 105 +++++++++---
> blkrawverify.c | 14 +-
> blktrace.c | 40 ++++-
> blktrace.h | 64 +++++--
> blktrace_api.h | 54 +++++-
> 8 files changed, 560 insertions(+), 186 deletions(-)
>
> --
> 2.51.0
>
--
Masami Hiramatsu (Google) <mhiramat@kernel.org>
next prev parent reply other threads:[~2025-09-14 9:18 UTC|newest]
Thread overview: 28+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-09-09 11:07 [PATCH 00/21] blktrace: Add user-space support for zoned command tracing Johannes Thumshirn
2025-09-09 11:07 ` [PATCH 01/21] fix comment for struct blk_trace_setup: Johannes Thumshirn
2025-09-19 7:51 ` Chaitanya Kulkarni
2025-09-09 11:07 ` [PATCH 02/21] add definitions for BLKTRACESETUP2 Johannes Thumshirn
2025-09-19 7:53 ` Chaitanya Kulkarni
2025-09-19 8:10 ` Johannes Thumshirn
2025-09-09 11:07 ` [PATCH 03/21] call BLKTRACESETUP2 ioctl per default to setup a trace Johannes Thumshirn
2025-09-19 8:49 ` Chaitanya Kulkarni
2025-09-09 11:07 ` [PATCH 04/21] blktrace: change size of action to 64 bits Johannes Thumshirn
2025-09-09 11:07 ` [PATCH 05/21] blktrace: add definitions for blk_io_trace2 Johannes Thumshirn
2025-09-09 11:07 ` [PATCH 06/21] blktrace: support protocol version 8 Johannes Thumshirn
2025-09-09 11:07 ` [PATCH 07/21] blkparse: pass magic to get_magic Johannes Thumshirn
2025-09-09 11:07 ` [PATCH 08/21] blkparse: read 'magic' first Johannes Thumshirn
2025-09-09 11:07 ` [PATCH 09/21] blkparse: factor out reading of a singe blk_io_trace event Johannes Thumshirn
2025-09-09 11:07 ` [PATCH 10/21] blkparse: skip unsupported protocol versions Johannes Thumshirn
2025-09-09 11:07 ` [PATCH 11/21] blkparse: make get_pdulen() take the pdu_len Johannes Thumshirn
2025-09-09 11:07 ` [PATCH 12/21] blkiomon: read 'magic' first Johannes Thumshirn
2025-09-09 11:07 ` [PATCH 13/21] blktrace: pass magic to CHECK_MAGIC macro Johannes Thumshirn
2025-09-09 11:07 ` [PATCH 14/21] blktrace: pass magic to verify_trace Johannes Thumshirn
2025-09-09 11:07 ` [PATCH 15/21] blktrace: rename trace_to_cpu to bit_trace_to_cpu Johannes Thumshirn
2025-09-09 11:07 ` [PATCH 16/21] blkparse: use blk_io_trace2 internally Johannes Thumshirn
2025-09-09 11:07 ` [PATCH 17/21] blkparse: natively parse blk_io_trace2 Johannes Thumshirn
2025-09-09 11:07 ` [PATCH 18/21] blkparse: parse zone (un)plug actions Johannes Thumshirn
2025-09-09 11:07 ` [PATCH 19/21] blkparse: add zoned commands to fill_rwbs() Johannes Thumshirn
2025-09-09 11:07 ` [PATCH 20/21] blkparse: parse zone management commands Johannes Thumshirn
2025-09-09 11:07 ` [PATCH 21/21] blkparse: parse zone append completions Johannes Thumshirn
2025-09-14 9:18 ` Masami Hiramatsu [this message]
2025-09-15 7:59 ` [PATCH 00/21] blktrace: Add user-space support for zoned command tracing Johannes Thumshirn
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20250914181823.a17382ac3a039dc4a8257578@kernel.org \
--to=mhiramat@kernel.org \
--cc=axboe@kernel.dk \
--cc=chaitanyak@nvidia.com \
--cc=dlemoal@kernel.org \
--cc=hare@suse.de \
--cc=hch@lst.de \
--cc=johannes.thumshirn@wdc.com \
--cc=john.g.garry@oracle.com \
--cc=linux-block@vger.kernel.org \
--cc=linux-btrace@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-trace-kernel@vger.kernel.org \
--cc=martin.petersen@oracle.com \
--cc=mathieu.desnoyers@efficios.com \
--cc=naohiro.aota@wdc.com \
--cc=rostedt@goodmis.org \
--cc=shinichiro.kawasaki@wdc.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox