[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [linux-lvm] clvmd on openais



Xinwei Hu wrote:
> Hi all,
>   clvmd-openais.c uses saLckResourceLockAsync and
> saLckResourceUnlockAsync. But they then pthread_cond_wait the lock
> operation to finished.
> 
>   Since we have to wait, why not switch to use saLckResourceLock and
> saLckResourceUnlock directly ? Are there any reasons behind this ?
> 

It's mainly because the code was copied and editted from the other
cluster systems, I think :-)

Chrissie


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]