FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.

» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Cluster Development

LinkBack Thread Tools
Old 04-16-2008, 07:21 PM
Default Cluster Project branch, RHEL46, updated. cman-kernel_2_6_9_54-8-g1c9932d

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Cluster Project".

http://sources.redhat.com/git/gitweb.cgi?p=cluster.git;a=commitdiff;h=1c9932d3cc 533daedac7cfb3a50b7d6ff8d07990

The branch, RHEL46 has been updated
via 1c9932d3cc533daedac7cfb3a50b7d6ff8d07990 (commit)
from 16b6a74c24d437cacd136d3376cae61eb45a4e38 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 1c9932d3cc533daedac7cfb3a50b7d6ff8d07990
Author: David Teigland <teigland@redhat.com>
Date: Thu Feb 28 09:49:26 2008 -0600

lock_dlm: skip busy plocks in unlock

bz 432707

Another problem with multiple threads manipulating the same
plocks (also see bz 383391). In this case thread1 was waiting
on a plock that was in the dlm, when thread2 came and tried to
unlock it (due to the process exiting and closing all files).
dlm returns EBUSY for the unlock, which causes lock_dlm to assert
(another work around could be to just not assert on EBUSY.)
The "busy" flag was recently added to plocks to work around
another similar problem with multiple threads; use that to
just skip the unlock on any plock that's busy.

4.6.z bz#440665


Summary of changes:
gfs-kernel/src/dlm/plock.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/gfs-kernel/src/dlm/plock.c b/gfs-kernel/src/dlm/plock.c
index bc4cfc4..e1bc46d 100644
--- a/gfs-kernel/src/dlm/plock.c
+++ b/gfs-kernel/src/dlm/plock.c
@@ -833,6 +833,8 @@ static int punlock_internal(struct dlm_resource *r, unsigned long owner,
list_for_each_entry_safe(po, safe, &r->locks, list) {
if (po->owner != owner)
+ if (po->busy)
+ continue;
if (!ranges_overlap(po->start, po->end, start, end))

Cluster Project

Thread Tools

All times are GMT. The time now is 04:50 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org