From 125b20f3c5dc38bff9917fa5ec5d3cbd860f3cee Mon Sep 17 00:00:00 2001 From: pengshanyu Date: Mon, 26 Jan 2026 15:12:40 +0800 Subject: [PATCH] add IOReadIOPSMax and IOWriteIOPSMax Signed-off-by: pengshanyu --- qm.container | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/qm.container b/qm.container index 2ced29ab..cca10e8b 100644 --- a/qm.container +++ b/qm.container @@ -44,6 +44,17 @@ Environment=RWVARFS=/var/qm LimitNOFILE=65536 TasksMax=50% +# IOReadIOPSMax, IOWriteIOPSMax +# ----------------------------- +# IOReadIOPSMax=device IOPS, IOWriteIOPSMax=device IOPS +# Set the per-device maximum block I/O operations per second (IOPS) limit for qm. +# "device" refers to the block device inside the qm partition that backs /var/qm. +# If "IOPS" is suffixed with K, M, G, or T, the specified IOPS is parsed as KiloIOPS, +# MegaIOPS, GigaIOPS, or TeraIOPS, respectively, to the base of 1000. +# Example: +# IOReadIOPSMax=/dev/sdf 50 +# IOWriteIOPSMax=/dev/sdf 50 + [Container] # AddCapability # -------------