[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <e0f057f8-9e39-4d41-a338-37c4793c6ab9@kernel.org>
Date: Wed, 1 Oct 2025 16:53:28 +0900
From: Damien Le Moal <dlemoal@...nel.org>
To: Johannes Thumshirn <johannes.thumshirn@....com>,
Jens Axboe <axboe@...nel.dk>
Cc: Steven Rostedt <rostedt@...dmis.org>,
Masami Hiramatsu <mhiramat@...nel.org>,
Mathieu Desnoyers <mathieu.desnoyers@...icios.com>,
linux-block@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-trace-kernel@...r.kernel.org, linux-btrace@...r.kernel.org,
John Garry <john.g.garry@...cle.com>, Hannes Reinecke <hare@...e.de>,
Christoph Hellwig <hch@....de>, Naohiro Aota <naohiro.aota@....com>,
Shinichiro Kawasaki <shinichiro.kawasaki@....com>,
Chaitanya Kulkarni <chaitanyak@...dia.com>,
"Martin K . Petersen" <martin.petersen@...cle.com>
Subject: Re: [PATCH blktrace v2 05/22] blktrace: add definitions for
blk_io_trace2
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@....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
Powered by blists - more mailing lists