[Ocfs2-tools-devel] [PATCH] libo2dlm: Add support for BASTs

Joel Becker Joel.Becker at oracle.com
Wed Jan 27 19:04:08 PST 2010


On Wed, Jan 27, 2010 at 06:58:25PM -0800, Joel Becker wrote:
> [ Here's the userspace side of the poll-is-bast change.  You'll need the
>   kernel patch to test it.  Note that it is not smart enough to detect
>   pre-change kernels.  I think we have to add that later. -- Joel

	And here's the test program.  It's a modification of the program
I sent to ocfs2-devel.  This one uses libo2dlm.  Compile with:

gcc -Os -Wall -I /path/to/ocfs2-tools/include/ -L /path/to/ocfs2-tools/libo2dlm/  -o o2dlm-polltest o2dlm-polltest.c -lo2dlm -ldl -lcom_err

	Run it just like the other test program.  Start the cluster and
a heartbeat on multiple nodes, then run a copy of the test on each node.

Joel

-- 

"You look in her eyes, the music begins to play.
 Hopeless romantics, here we go again."

Joel Becker
Principal Software Developer
Oracle
E-mail: joel.becker at oracle.com
Phone: (650) 506-8127
-------------- next part --------------
A non-text attachment was scrubbed...
Name: o2dlm-polltest.c
Type: text/x-csrc
Size: 2962 bytes
Desc: not available
Url : http://oss.oracle.com/pipermail/ocfs2-tools-devel/attachments/20100127/3e3da401/attachment.bin 


More information about the Ocfs2-tools-devel mailing list