Hi Patrick, thank you very much for the hint :-) I removed my new API from the cman patch. Only leaving the changes for a Node ID line in /proc/cluster/status ;-) I also modified the part in ops_inode.c. It uses the original API kcl_get_node_by_nodeid now. I put the new patches on the website. It would be great if you could have a look at them... Thanks, Mark On Monday 23 January 2006 15:57, Patrick Caulfield wrote: > Mark Hlawatschek wrote: > > Hi, > > > > we created a patch that enables GFS to use the CMANs nodeid value to > > create CDSLs. Therefore, we created the parameter @nodeid. > > > > You can download the patch at: http://www.open-sharedroot.org. > > We wanted to have a nodeid cdsl for the shared root environment. What is > > your opinion about the @nodeid parameter ? > > > > > > 3. Changes: > > 3.1 cman-kernel > > Added API function kcl_get_my_nodeid(void) which returns the nodeid as > > int. > > You don't need to add an API to get the current nodeid. Simply call > kcl_get_node_by_id(0, &node) > and it will fill in details of the current node. > > > Added line to proc/cluster/status output. E.g: "Node ID: 4" > > Yes, that probably should be included :) -- Gruss / Regards, Dipl.-Ing. Mark Hlawatschek Phone: +49-89 121 409-55 http://www.atix.de/ ** ATIX - Ges. fuer Informationstechnologie und Consulting mbH Einsteinstr. 10 - 85716 Unterschleissheim - Germany -- Linux-cluster@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/linux-cluster