* blk-throttle: does io.max bound metadata writes over time?
@ 2026-12-01 16:36 Tianyi Chen
0 siblings, 0 replies; only message in thread
From: Tianyi Chen @ 2026-12-01 16:36 UTC (permalink / raw)
To: Tejun Heo, Josef Bacik, Jens Axboe
Cc: Yu Kuai, Johannes Weiner, Michal Koutny, linux-block, cgroups,
linux-kernel, hi
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2026-12-01 16:37 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-12-01 16:36 blk-throttle: does io.max bound metadata writes over time? Tianyi Chen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox