From 29b4ce9390d4f57b1b0890aa7615e922d2d2d262 Mon Sep 17 00:00:00 2001 From: Fiona Ebner Date: Wed, 7 Jun 2023 16:54:50 +0200 Subject: [PATCH] vzdump: config: improve description of ionice setting The CFQ scheduler was removed with Linux 5.0 and ionice is now used by the newer BFQ scheduler. Mention what the special value 8 does. Also mention that for snapshot and suspend mode backups of VMs, the setting only affects the compressor, because the kvm process is not a child process of vzdump then and does not inherit the ionice priority. Signed-off-by: Fiona Ebner --- src/PVE/VZDump/Common.pm | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/PVE/VZDump/Common.pm b/src/PVE/VZDump/Common.pm index 64c4e4e..a6fe483 100644 --- a/src/PVE/VZDump/Common.pm +++ b/src/PVE/VZDump/Common.pm @@ -212,7 +212,10 @@ my $confdesc = { }, ionice => { type => 'integer', - description => "Set CFQ ionice priority.", + description => "Set IO priority when using the BFQ scheduler. For snapshot and suspend " + ."mode backups of VMs, this only affects the compressor. A value of 8 means the idle " + ."priority is used, otherwise the best-effort priority is used with the specified " + ."value.", optional => 1, minimum => 0, maximum => 8, -- 2.39.5