From: Shin'ichiro Kawasaki <shinichiro.kawasaki@wdc.com>
To: linux-block@vger.kernel.org
Cc: Daniel Wagner <wagi@kernel.org>,
John Meneghini <jmeneghi@redhat.com>,
Bart Van Assche <bvanassche@acm.org>
Subject: Re: [PATCH blktests v2 0/3] introduce command trace feature
Date: Sun, 24 May 2026 09:17:04 +0900 [thread overview]
Message-ID: <ahJDRBxLbpO1vwE0@shinmob> (raw)
In-Reply-To: <20260516120729.113659-1-shinichiro.kawasaki@wdc.com>
On May 16, 2026 / 21:07, Shin'ichiro Kawasaki wrote:
> Some blktests test cases have deep nesting, making their behavior
> difficult to understand. For example, the nvme test group has many
> helper functions that set sysfs attribute values and call nvme-cli
> commands. Understanding these behaviors is essential for debugging test
> case failures.
>
> This series adds a new 'command trace' feature to blktests. The first
> patch introduces a new --cmd-trace (or -t) option to record commands
> executed during test runs. The second and third patches add a new helper
> function _set_attr(), which traces both the value and file name of sysfs
> attribute writes.
>
> With this series, blktests users can use the option to generate a
> .cmdtrace file that records all commands executed during a test case
> run. By grepping the .cmdtrace file, users can check writes to sysfs
> attributes and nvme-cli command invocations. The example below shows how
> nvme targets are set up for the nvme/008 test case with rdma transport.
FYI, I applied this series.
prev parent reply other threads:[~2026-05-24 0:17 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-05-16 12:07 [PATCH blktests v2 0/3] introduce command trace feature Shin'ichiro Kawasaki
2026-05-16 12:07 ` [PATCH blktests v2 1/3] check: add --cmd-trace option Shin'ichiro Kawasaki
2026-05-16 12:07 ` [PATCH blktests v2 2/3] common/rc: add _set_attr() function to trace attribute writes Shin'ichiro Kawasaki
2026-05-16 12:07 ` [PATCH blktests v2 3/3] common/nvme, nvme/rc: use _set_attr() " Shin'ichiro Kawasaki
2026-05-18 17:11 ` [PATCH blktests v2 0/3] introduce command trace feature Bart Van Assche
2026-05-24 0:17 ` Shin'ichiro Kawasaki [this message]
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=ahJDRBxLbpO1vwE0@shinmob \
--to=shinichiro.kawasaki@wdc.com \
--cc=bvanassche@acm.org \
--cc=jmeneghi@redhat.com \
--cc=linux-block@vger.kernel.org \
--cc=wagi@kernel.org \
/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