Re: [ClusterLabs] ocf_take_lock is NOT actually safe to use

2017-06-26 Thread Dejan Muhamedagic
Hi, On Wed, Jun 21, 2017 at 04:40:47PM +0200, Lars Ellenberg wrote: > > Repost to a wider audience, to raise awareness for this. > ocf_take_lock may or may not be better than nothing. > > It at least "annotates" that the auther would like to protect something > that is considered a "critical reg

Re: [ClusterLabs] ocf_take_lock is NOT actually safe to use

2017-06-22 Thread Jan Pokorný
On 21/06/17 16:40 +0200, Lars Ellenberg wrote: > Repost to a wider audience, to raise awareness for this. Appreciated, Lars. Adding developers ML for possibly even larger outreach. > ocf_take_lock may or may not be better than nothing. > > It at least "annotates" that the auther would like to pr

[ClusterLabs] ocf_take_lock is NOT actually safe to use

2017-06-21 Thread Lars Ellenberg
Repost to a wider audience, to raise awareness for this. ocf_take_lock may or may not be better than nothing. It at least "annotates" that the auther would like to protect something that is considered a "critical region" of the resource agent. At the same time, it does NOT deliver what the name