From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=63.250.43.90 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796143045; b=4JFGBLCGiejCbF0hHR1tyxlX6uCgdVq+ZuJyqjf4oDB56pWUhkJQacoyBMKJAtpdfNTx bQ74p7vrK9e/rPaPbUT2NUbxfj9lxvGLHjaotIHaRXiDCGy8CrbPT34v5zUq67j4lRqF3 4yvhp2t4aF6yv1G6X56iVwCk+Ye6IsXF/vR0z29wz62QLrxCfUmQKupUYpiZDOc245A1c Ijkz4pKT2whiNfNOlS3vSA4AQSEhe+07M+X8rOA7W6Y50BA9nSayUaODB8TQaWft9JaXm wq2wCA7kpUhrLZ5gzgsY6tpAYIrB/mMcfW0Ja0pQkY/z0WzgNx3WbfkAaWOx7Ro0ZFA== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796143045; 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=4HWHthO0boZxjGtDlKl5WBVkTcXrtfG758pG4QU6yvRoSaea/hrT5TsaSjGh0TIgwLpk 5vPr5kwrI13HbKjUANjBMMj/6ba//D2nHvpNMhkUiErRfQ3ZVBHXmF8/iEaAT2nDrkXBv VtEz3S+xwmjWxTl2FeAJuYlyP2Kd3dXpwwVnJglg9f+wih3ZNdsvsEOE8sYiHnBF+sQW0 /lsEqy68lzszB0innR76vBV5/whYQcAzByxFNeFxnHJAINfSHCJY+eu8e9UcQOjNN8Syc 3c2t6tBVMIcoZ+aUtl4WiVhDcOZXQaB9nbmNU4Xncmpt0adBQR60YUQHhJ7u2HW16GQ== 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=63.250.43.90 Received: from out-2uec-a90.jellyfish.systems (out-2uec-a90.jellyfish.systems [63.250.43.90]) (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 8C52C606A33E for ; Tue, 1 Dec 2026 16:37:24 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 8C52C606A33E 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-kernel@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