[prev in list] [next in list] [prev in thread] [next in thread] 

List:       dlm-devel
Subject:    [Dlm-devel] Bug in memory code, was: Renaming of API routines and other stuff
From:       Peter Badovinatz <tabmowzo () yahoo ! com>
Date:       2001-03-13 17:12:52
[Download RAW message or body]

--- Peter Badovinatz <tabmowzo@yahoo.com> wrote:
> 
> --- Peter Badovinatz <tabmowzo@yahoo.com> wrote:
<snipped info about renaming>
> Also checked into the test/ directory were client1.c and client2.c, two
> > trivial
> > test programs to make simple lock/unlock calls.  Note that I just moments
> ago
> > found a bug that causes unlock requests to unconditionally fail.  I won't
> > have
> > a fix checked in tonight.
> 
> I lied.  I checked a fix in moments ago...

My message was rather too hasty.  The bug was introduced when I ported over
some of the code related to interacting with kernel memeory management, since
it's different between AIX and Linux.  I was neglecting to increment a counter
after allocation.  This one easily fixed, but makes me rather suspect the rest
of my changes in this area...  Fix in dlmdk/clm_resource.c.
> 
> > 
> > Also, it still hangs the complete machine on SMP systems...

This is still happening.  Note that we discovered that at least in the case of
semaphores, the "trylock" routines have some oddities about when they return 0
or 1 for success or failure!  This had caused us trouble on UP, we fixed it for
that, but it didn't fix the SMP side of it.  And yes, your machine will hang
rather solidly, and you'll be heading for the reset/power button :0(

Finally, it appears the cvs server is down at the moment...  Of course,
probably means the maillist gateway as well!
> > 
> > Peter
> 

=====
These have been the opinions of:
Peter R. Badovinatz -- (503)578-5530 (TL 775)
wombat@us.ibm.com/tabmowzo@yahoo.com
and in no way should be construed as official opinion of 
IBM, Corp.

__________________________________________________
Do You Yahoo!?
Yahoo! Auctions - Buy the things you want at great prices.
http://auctions.yahoo.com/

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic