[pve-devel] [PATCH qemu-server] qmp client: increase guest fstrim timeout to 10 minutes
Fiona Ebner
f.ebner at proxmox.com
Fri Aug 19 09:01:24 CEST 2022
like for other drive-related operations. The default of 3 seconds is
just not enough for large (or slow) disks.
Reported in the community forum:
https://forum.proxmox.com/threads/49543/
Signed-off-by: Fiona Ebner <f.ebner at proxmox.com>
---
PVE/QMPClient.pm | 1 +
1 file changed, 1 insertion(+)
diff --git a/PVE/QMPClient.pm b/PVE/QMPClient.pm
index 3a770da4..b4cdcf62 100644
--- a/PVE/QMPClient.pm
+++ b/PVE/QMPClient.pm
@@ -127,6 +127,7 @@ sub cmd {
$cmd->{execute} eq 'backup-cancel' ||
$cmd->{execute} eq 'query-savevm' ||
$cmd->{execute} eq 'delete-drive-snapshot' ||
+ $cmd->{execute} eq 'guest-fstrim' ||
$cmd->{execute} eq 'guest-shutdown' ||
$cmd->{execute} eq 'blockdev-snapshot-internal-sync' ||
$cmd->{execute} eq 'blockdev-snapshot-delete-internal-sync' ||
--
2.30.2
More information about the pve-devel
mailing list