From: Tianyi Chen <hi@tychen.cc>
To: Tejun Heo <tj@kernel.org>, Josef Bacik <josef@toxicpanda.com>,
Jens Axboe <axboe@kernel.dk>
Cc: Yu Kuai <yukuai@fygo.io>, Johannes Weiner <hannes@cmpxchg.org>,
Michal Koutny <mkoutny@suse.com>,
linux-block@vger.kernel.org, cgroups@vger.kernel.org,
linux-kernel@vger.kernel.org, hi@tychen.cc
Subject: blk-throttle: does io.max bound metadata writes over time?
Date: Wed, 2 Dec 2026 01:36:50 +0900 [thread overview]
Message-ID: <20261201163652.467289-1-hi@tychen.cc> (raw)
Hi Tejun, Josef, Jens,
Does io.max have a long-term rate guarantee for metadata writes?
I understand why blk-throttle lets metadata through to avoid stalling
a shared journal. What I couldn't tell from the documentation is what
happens to the guarantee if later I/O doesn't pay back the excess.
On unmodified f47d223627f8 (XFS, virtio disk, one KVM boot), io.stat
for a group doing metadata writes recorded 30.4x, 29.7x and 30.7x
its write IOPS limit in three consecutive 20-second windows. Over
the minute, io.stat counted 58,068 writes in that group; the disk
counted 58,297. This did not look like just an initial burst.
The __blk_throtl_bio() body is unchanged at mainline 19cc08c1a6a6.
I ran a conventional I/O check on that tip, not this metadata workload.
Thanks,
Tianyi
reply other threads:[~2026-12-01 16:37 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20261201163652.467289-1-hi@tychen.cc \
--to=hi@tychen.cc \
--cc=axboe@kernel.dk \
--cc=cgroups@vger.kernel.org \
--cc=hannes@cmpxchg.org \
--cc=josef@toxicpanda.com \
--cc=linux-block@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mkoutny@suse.com \
--cc=tj@kernel.org \
--cc=yukuai@fygo.io \
/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