From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pobox.fab.redhat.com (pobox.fab.redhat.com [10.33.63.12]) by int-mx1.corp.redhat.com (8.13.1/8.13.1) with ESMTP id m3N7glvh007048 for ; Wed, 23 Apr 2008 03:42:48 -0400 Received: from jeltz.chrissie.net (vpn-6-9.fab.redhat.com [10.33.6.9]) by pobox.fab.redhat.com (8.13.1/8.13.1) with ESMTP id m3N7glNT018248 for ; Wed, 23 Apr 2008 03:42:47 -0400 Message-ID: <480EE876.6050400@redhat.com> Date: Wed, 23 Apr 2008 08:42:46 +0100 From: Christine Caulfield MIME-Version: 1.0 Subject: Re: [linux-lvm] clvmd on openais References: <1cafab770804230025q585c565awc8a70c8b9b2d2345@mail.gmail.com> In-Reply-To: <1cafab770804230025q585c565awc8a70c8b9b2d2345@mail.gmail.com> Content-Transfer-Encoding: 7bit Reply-To: LVM general discussion and development List-Id: LVM general discussion and development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , List-Id: Content-Type: text/plain; charset="us-ascii" To: LVM general discussion and development 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