]> git.proxmox.com Git - pve-storage.git/commit
fix #3803: ZFSPoolPlugin: zfs_request: increase minimum timeout in worker
authorDominik Csapak <d.csapak@proxmox.com>
Thu, 23 Dec 2021 12:06:22 +0000 (13:06 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 26 Apr 2022 13:19:50 +0000 (15:19 +0200)
commit4cd9b85d1518a3cc84137aa3edbdc5b2c003ac48
tree6ddf2bc468bf528f930856c4e70b6628f9edfb6b
parent428872eb71f2d7f422d6b3413544b5d35fbb3a24
fix #3803: ZFSPoolPlugin: zfs_request: increase minimum timeout in worker

Since most zfs operations can take a while (under certain conditions),
increase the minimum timeout for zfs_request in workers to 5 minutes.

We cannot increase the timeouts in synchronous api calls, since they are
hard limited to 30 seconds, but in worker we do not have such limits.

The existing default timeout does not change (60minutes in worker,
5seconds otherwise), but all zfs_requests with a set timeout (<5minutes)
will use the increased 5 minutes in a worker.

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
PVE/Storage/ZFSPoolPlugin.pm