This patch is a tentative fix for #1415

To fix the problem of pvestatd hangs, this generalize the approach of
PVE::Common:df by running the potentially hanging code in a forked child.

Requesting For Comments, as I am not sure the approach is right, and 
PVE::Common::df
should be refactored to use this to avoid code duplication.


Emmanuel Kasper (1):
  Add run_or_get_killed utility

 src/PVE/Tools.pm | 43 +++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 43 insertions(+)

-- 
2.11.0


_______________________________________________
pve-devel mailing list
pve-devel@pve.proxmox.com
https://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Reply via email to