Linux block layer
 help / color / mirror / Atom feed
From: Chaitanya Kulkarni <chaitanyak@nvidia.com>
To: Johannes Thumshirn <johannes.thumshirn@wdc.com>,
	"axboe@kernel.dk" <axboe@kernel.dk>
Cc: Christoph Hellwig <hch@lst.de>,
	"linux-block@vger.kernel.org" <linux-block@vger.kernel.org>,
	Damien Le Moal <dlemoal@kernel.org>,
	Hannes Reinecke <hare@suse.de>,
	"Martin K. Petersen" <martin.petersen@oracle.com>,
	Niklas Cassel <cassel@kernel.org>,
	Shinichiro Kawasaki <shinichiro.kawasaki@wdc.com>
Subject: Re: [PATCH 3/5] blktrace: record I/O priorities if requested
Date: Wed, 25 Nov 2026 23:00:03 +0000	[thread overview]
Message-ID: <fd0d063d-ca8e-442a-9a18-50206ebdc5a2@nvidia.com> (raw)
In-Reply-To: <20261124133553.152463-4-johannes.thumshirn@wdc.com>

On 11/24/26 5:35 AM, Johannes Thumshirn wrote:
> Accept BLKTRACE_FLAG_IOPRIO in BLKTRACESETUP2 and, if it is set, mark all
> events that belong to a bio or request with __BLK_TA_IOPRIO, so user space
> knows that blk_io_trace2::ioprio is valid. Old kernels reject the flag
> with -EINVAL, so user space can detect the support. BLKTRACESETUP (v1)
> has no flags and therefore never gets I/O priorities.
>
> For the ftrace blk tracer the TRACE_BLK_OPT_IOPRIO flag is checked
> instead, the corresponding tracer option is added together with the
> decoding of the I/O priority in the next patch.
>
> Signed-off-by: Johannes Thumshirn<johannes.thumshirn@wdc.com>

Looks good.

Reviewed-by: Chaitanya Kulkarni <kch@nvidia.com>



  reply	other threads:[~2026-11-25 23:01 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-24 13:35 [PATCH 0/5] blktrace: add support for tracing I/O priorities Johannes Thumshirn
2026-11-24 13:35 ` [PATCH 1/5] blktrace: add ioprio field to struct blk_io_trace2 Johannes Thumshirn
2026-11-25  4:58   ` Christoph Hellwig
2026-11-25 22:26     ` Damien Le Moal
2026-11-26  8:35       ` Christoph Hellwig
2026-11-24 13:35 ` [PATCH 2/5] blktrace: pass ioprio to tracing data Johannes Thumshirn
2026-11-25 22:57   ` Chaitanya Kulkarni
2026-11-25 22:59   ` Chaitanya Kulkarni
2026-11-24 13:35 ` [PATCH 3/5] blktrace: record I/O priorities if requested Johannes Thumshirn
2026-11-25 23:00   ` Chaitanya Kulkarni [this message]
2026-11-24 13:35 ` [PATCH 4/5] blktrace: decode ioprio on ftrace block tracer Johannes Thumshirn
2026-11-25 23:00   ` Chaitanya Kulkarni
2026-11-24 13:35 ` [PATCH 5/5] block: add ioprio to the bio based tracepoints Johannes Thumshirn
2026-11-25 23:00   ` Chaitanya Kulkarni

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=fd0d063d-ca8e-442a-9a18-50206ebdc5a2@nvidia.com \
    --to=chaitanyak@nvidia.com \
    --cc=axboe@kernel.dk \
    --cc=cassel@kernel.org \
    --cc=dlemoal@kernel.org \
    --cc=hare@suse.de \
    --cc=hch@lst.de \
    --cc=johannes.thumshirn@wdc.com \
    --cc=linux-block@vger.kernel.org \
    --cc=martin.petersen@oracle.com \
    --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