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 m3N9CKm4022650 for ; Wed, 23 Apr 2008 05:12:21 -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 m3N9CKdI002351 for ; Wed, 23 Apr 2008 05:12:20 -0400 Message-ID: <480EFD72.5010809@redhat.com> Date: Wed, 23 Apr 2008 10:12:18 +0100 From: Christine Caulfield MIME-Version: 1.0 Subject: Re: [linux-lvm] clvmd on openais References: <1cafab770804230025q585c565awc8a70c8b9b2d2345@mail.gmail.com> <480EE876.6050400@redhat.com> <1cafab770804230110n4370eb37ga0dc41ee255ecffb@mail.gmail.com> In-Reply-To: <1cafab770804230110n4370eb37ga0dc41ee255ecffb@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: > 2008/4/23, Christine Caulfield : >> 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. ;) Thanks, but that patch seems to have got corrupted or something, it doesn't apply to head of CVS. can you send it again please ? Hunk #3 FAILED at 295. Hunk #4 succeeded at 315 (offset -8 lines). Hunk #6 succeeded at 478 (offset -8 lines). patch: **** malformed patch at line 161: @@ -590,15 +536,13 @@ Chrissie