From: Damien Le Moal <dlemoal@kernel.org>
To: Johannes Thumshirn <johannes.thumshirn@wdc.com>,
Jens Axboe <axboe@kernel.dk>
Cc: 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>, 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 blktrace v2 05/22] blktrace: add definitions for blk_io_trace2
Date: Wed, 1 Oct 2025 16:53:28 +0900 [thread overview]
Message-ID: <e0f057f8-9e39-4d41-a338-37c4793c6ab9@kernel.org> (raw)
In-Reply-To: <20250925150427.67394-6-johannes.thumshirn@wdc.com>
On 9/26/25 00:04, Johannes Thumshirn wrote:
> Add 'struct blk_io_trace2' which represents the extended version of the
> blktrace protocol.
>
> Signed-off-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
> ---
> blktrace_api.h | 35 +++++++++++++++++++++++++++++++++++
> 1 file changed, 35 insertions(+)
>
> diff --git a/blktrace_api.h b/blktrace_api.h
> index 9f435a5..bbf075f 100644
> --- a/blktrace_api.h
> +++ b/blktrace_api.h
> @@ -27,8 +27,19 @@ enum {
> BLK_TC_END = 1 << 15, /* we've run out of bits! */
> };
>
> +enum blktrace_cat2 {
> + BLK_TC_ZONE_APPEND = 1 << 1ull, /* zone append */
Kernel side starts this at 1ULL << 16. SO I think you are out of sync with the
kernel side with these user patches...
> + BLK_TC_ZONE_RESET = 1 << 2ull, /* zone reset */
> + BLK_TC_ZONE_RESET_ALL = 1 << 3ull, /* zone reset all */
> + BLK_TC_ZONE_FINISH = 1 << 4ull, /* zone finish */
> + BLK_TC_ZONE_OPEN = 1 << 5ull, /* zone open */
> + BLK_TC_ZONE_CLOSE = 1 << 6ull, /* zone close */
> +};
--
Damien Le Moal
Western Digital Research
next prev parent reply other threads:[~2025-10-01 7:53 UTC|newest]
Thread overview: 28+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-09-25 15:04 [PATCH blktrace v2 00/22] blktrace: Add user-space support for zoned command tracing Johannes Thumshirn
2025-09-25 15:04 ` [PATCH blktrace v2 01/22] blktrace: fix comment for struct blk_trace_setup: Johannes Thumshirn
2025-10-01 7:41 ` Damien Le Moal
2025-09-25 15:04 ` [PATCH blktrace v2 02/22] blkparse: fix compiler warning Johannes Thumshirn
2025-10-01 7:43 ` Damien Le Moal
2025-09-25 15:04 ` [PATCH blktrace v2 03/22] blktrace: add definitions for BLKTRACESETUP2 Johannes Thumshirn
2025-10-01 7:48 ` Damien Le Moal
2025-09-25 15:04 ` [PATCH blktrace v2 04/22] blktrace: change size of action to 64 bits Johannes Thumshirn
2025-10-01 7:51 ` Damien Le Moal
2025-09-25 15:04 ` [PATCH blktrace v2 05/22] blktrace: add definitions for blk_io_trace2 Johannes Thumshirn
2025-10-01 7:53 ` Damien Le Moal [this message]
2025-09-25 15:04 ` [PATCH blktrace v2 06/22] blktrace: support protocol version 8 Johannes Thumshirn
2025-09-25 15:04 ` [PATCH blktrace v2 07/22] blkparse: pass magic to get_magic Johannes Thumshirn
2025-09-25 15:04 ` [PATCH blktrace v2 08/22] blkparse: read 'magic' first Johannes Thumshirn
2025-09-25 15:04 ` [PATCH blktrace v2 09/22] blkparse: factor out reading of a singe blk_io_trace event Johannes Thumshirn
2025-09-25 15:04 ` [PATCH blktrace v2 10/22] blkparse: skip unsupported protocol versions Johannes Thumshirn
2025-09-25 15:04 ` [PATCH blktrace v2 11/22] blkparse: make get_pdulen() take the pdu_len Johannes Thumshirn
2025-09-25 15:04 ` [PATCH blktrace v2 12/22] blkiomon: read 'magic' first Johannes Thumshirn
2025-09-25 15:04 ` [PATCH blktrace v2 13/22] blktrace: pass magic to CHECK_MAGIC macro Johannes Thumshirn
2025-09-25 15:04 ` [PATCH blktrace v2 14/22] blktrace: pass magic to verify_trace Johannes Thumshirn
2025-09-25 15:04 ` [PATCH blktrace v2 15/22] blktrace: rename trace_to_cpu to bit_trace_to_cpu Johannes Thumshirn
2025-09-25 15:04 ` [PATCH blktrace v2 16/22] blkparse: use blk_io_trace2 internally Johannes Thumshirn
2025-09-25 15:04 ` [PATCH blktrace v2 17/22] blkparse: natively parse blk_io_trace2 Johannes Thumshirn
2025-09-25 15:04 ` [PATCH blktrace v2 18/22] blkparse: parse zone (un)plug actions Johannes Thumshirn
2025-09-25 15:04 ` [PATCH blktrace v2 19/22] blkparse: add zoned commands to fill_rwbs() Johannes Thumshirn
2025-09-25 15:04 ` [PATCH blktrace v2 20/22] blkparse: parse zone management commands Johannes Thumshirn
2025-09-25 15:04 ` [PATCH blktrace v2 21/22] blkparse: parse zone append completions Johannes Thumshirn
2025-09-25 15:04 ` [PATCH blktrace v2 22/22] blktrace: call BLKTRACESETUP2 ioctl per default to setup a trace 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=e0f057f8-9e39-4d41-a338-37c4793c6ab9@kernel.org \
--to=dlemoal@kernel.org \
--cc=axboe@kernel.dk \
--cc=chaitanyak@nvidia.com \
--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=mhiramat@kernel.org \
--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;
as well as URLs for NNTP newsgroup(s).