[linux-lvm] clvmd on openais

Xinwei Hu hxinwei at gmail.com
Wed Apr 23 08:10:33 UTC 2008


2008/4/23, Christine Caulfield <ccaulfie at redhat.com>:
> 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 :-)
Then I propose this patch to switch over. ;)
>  Chrissie
>
>  _______________________________________________
>  linux-lvm mailing list
>  linux-lvm at redhat.com
>  https://www.redhat.com/mailman/listinfo/linux-lvm
>  read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: clvmd-openais.diff
Type: text/x-patch
Size: 4899 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/linux-lvm/attachments/20080423/ecc45658/attachment.bin>


More information about the linux-lvm mailing list