]> git.proxmox.com Git - pve-cluster.git/commit
cfs_lock: subtract sleep time from rest timeout
authorWolfgang Bumiller <w.bumiller@proxmox.com>
Thu, 9 Nov 2017 09:36:51 +0000 (10:36 +0100)
committerWolfgang Bumiller <w.bumiller@proxmox.com>
Thu, 9 Nov 2017 09:36:53 +0000 (10:36 +0100)
commit3fb23b5b1cb4595a4280dc64605bbce46160d7ad
tree3e91e38c6c653cb19b32f97f6a4243b9debbc8c4
parent00ea842822fabd2bd7abbb31d6c5e01a046aff93
cfs_lock: subtract sleep time from rest timeout

We take the left-over timeout returned from alarm() and then
sleep for a second, so when continuing the alarm timeout we
we need to subtract that second for consistency.

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
data/PVE/Cluster.pm