From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=198.54.127.154 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796143044; b=N0I2kYdP0pMwqsryB970h/QBzVG+s16hqoIgWjzFV9yRvESVs6c881JPHCbGFWeijBd+ yHdp97MYTPvlbc2UaYHgRwJ3730Ddhp091A4bBXouFQAF415ZcpkRhuuDcTwMQnOsz4cH 7gttsLJW+5xKx8vOU0I/PsX7qfyuv+iOl/Sfp7nrkPJ08SyKxYooHQMRkF2nmY8ThPdWH aB88YnGMxN4waCyjFvm1rbkYrBwRYxyYRcYypqpBQPEP4hcA1O5bjp5VBqgR4IvTL2JVV gUClncCJvgVU2mi9DH/0qcsR5snN28nfGzm9wM9+kS7l04kz9RARylAZVYtXMLqRVvw== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796143044; h=DMARC-Filter:Received:DKIM-Signature:From:To:Cc:Subject:Date: Message-ID:X-Mailer:MIME-Version:Content-Transfer-Encoding: X-Envelope-From; bh=4UGa9cDQC8I2zTrcXVV2me4BJ/4/xhFqfaL3qUUkQjc=; b=EMlPl9T6E+lgh0uwE2oWeZlkoE+Ikv2DRQvepfp6M8O1tDaFBCuGfJvh3YjA1mM67cv7 Cx8RdopmAvSjlZl1CKTkxGWScMMpQIHOw5nl6syg1F4PEOM0GmFfmjUtSy0DaNe81UxkW o6d/F/LCuEgVIA8NCLOhYtOv1uyN8qWdM6IjU8QjSYmejrxPlvat6YD+XBasjTREmiTpf 9ok03/kolBZdmJ83+UUlqNSuqQVUnI2XSdslxuyexugBrX9kf7ulBLi8nnRYql98rzXBj 1s00mvaw6pThJuRADChRRfx1o+aDH9clCEVCS/z9jGiRkZF/M8+PWl8zhGAVBLn+VSQ== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=tychen.cc; spf=pass smtp.mailfrom=tychen.cc; dkim=pass header.d=tychen.cc header.i=@tychen.cc header.a=rsa-sha256 header.s=spacemail header.b="Dc/nZLOT"; arc=none smtp.remote-ip=198.54.127.154 Received: from out-2z4y-a154.jellyfish.systems (out-2z4y-a154.jellyfish.systems [198.54.127.154]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 29E2B606A339 for ; Tue, 1 Dec 2026 16:37:23 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 29E2B606A339 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=tychen.cc Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=tychen.cc Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=tychen.cc header.i=@tychen.cc header.a=rsa-sha256 header.s=spacemail header.b=Dc/nZLOT Received: from fedora (unknown [151.145.76.168]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mail.spacemail.com (Postfix) with ESMTPSA id 4jf6406n24z8sWP; Tue, 01 Dec 2026 16:37:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tychen.cc; s=spacemail; t=1796143027; bh=4UGa9cDQC8I2zTrcXVV2me4BJ/4/xhFqfaL3qUUkQjc=; h=From:To:Cc:Subject:Date:From; b=Dc/nZLOTQqHNUyIZ9QUr2hIpSi9SoR+U70YemjDYgnaEwzMricqilsHL27CWgSayG JL3VAzBwCVqabzJ3j3k3jeUOh+1/HsFUO+dasQMWyJ+Mfit8e9YSzi/mUMKXJy/W0m l8sHNHMefUbAPtWNKTPIdiaceN1VWqGlaodEwxM7pNepT9P2zYnnidLH/h1s7OM7uK jbtRuo1mvhB/1c2hTo20t4YFurAARuMM6kL9YuYKDfHA2jgrl3tNj56aHtMIBlRGfV KAi8iBb97I6/2aidRx9D6/G5HnykY38pK+3G6Xc+diRzDSLYFxhrzxuFk/YrPu1lqj ZbKd9vmuXOFeQ== From: Tianyi Chen To: Tejun Heo , Josef Bacik , Jens Axboe Cc: Yu Kuai , Johannes Weiner , Michal Koutny , 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 Message-ID: <20261201163652.467289-1-hi@tychen.cc> X-Mailer: git-send-email 2.56.1 X-Mailing-List: linux-block@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Envelope-From: hi@tychen.cc 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