Re: [pve-devel] [RFC PATCH cluster 2/2] cluster: cfs_update: option to die rather than warn

2017-10-11 Thread Thomas Lamprecht
On 10/11/2017 09:36 AM, Wolfgang Bumiller wrote: > It can be useful to know whether we actually have an empty > vm list or whether the last cfs_update call simply failed. > Previously this only warned. > > This way we can avoid a nasty type of race condition. For > instance in pvesr where it's pos

[pve-devel] [RFC PATCH cluster 2/2] cluster: cfs_update: option to die rather than warn

2017-10-11 Thread Wolfgang Bumiller
It can be useful to know whether we actually have an empty vm list or whether the last cfs_update call simply failed. Previously this only warned. This way we can avoid a nasty type of race condition. For instance in pvesr where it's possible that the vm list query fails while everything else work