[prev in list] [next in list] [prev in thread] [next in thread]
List: dlm-devel
Subject: [Dlm-devel] Checkin: proc mods, fixes for lock request crashes
From: Peter Badovinatz <tabmowzo () yahoo ! com>
Date: 2001-03-14 2:03:02
[Download RAW message or body]
Good evening. A small number of changes checked in, but rather important ones.
1. I've integrated Alan Jones' contributions to support /proc on >2.2 kernels
into dlm_kerndd.c. Ian is integrating the cccp_init.c mods, as well as a
number of other changes to support multi-node testing. The code in the cvs
tree as of RIGHT NOW will support 2.2, but Ian's changes aren't yet in, so >2.2
not yet there in the cvs tree.
2. I *finally* figured out a bug related to running multiple clients on a
single node... The code was dereferencing a NULL pointer, which means Oops.
This took me a while because it was in a section of code unchanged from the AIX
version, that had always worked on AIX. Somewhere the deep recesses of my
brain finally recalled that it is allowable to deref a NULL pointer in AIX, so
long as you only read from zero... Fix in clm_client.c:findclient() to quit
shooting itself. The fix will port back to AIX if anyone ever cares.
3. The /proc interface as it now exists will provide accurate lock counts
outputs, as it wasn't picking up the right data previously.
Result: a one-node, UP-only DLM that seems decently stable. Kinda doesn't yet
merit the "distributed" moniker. I've been using the trivial client2.c code I
put in the tree, and forcing some minor lock contention requests, as well as
shared requests, and it's holding together.
We hope to generate a new tarball tomorrow, hopefully with the cccp changes
integrated, to provide a "sorta" stable version for people to use.
=====
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