Re: [Cluster-devel] [PATCH] dlm: fix cross-platform error values

2008-01-14 Thread Fabio M. Di Nitto
Hi guys, On Mon, 14 Jan 2008, Patrick Caulfeld wrote: Some errno values differ across platforms. So if we return things like -EINPROGRESS from one node it can get misinterpreted or rejected on another one. This patch fixes up the errno values passed on the wire so that they match the x86 ones

Re: [Cluster-devel] [PATCH] dlm: fix cross-platform error values

2008-01-14 Thread Fabio M. Di Nitto
Hi Steven, please put this patch on hold as I found more cases similar to those that need the same addressing. Thanks Fabio On Mon, 14 Jan 2008, Patrick Caulfeld wrote: Some errno values differ across platforms. So if we return things like -EINPROGRESS from one node it can get misinterpret

[Cluster-devel] [PATCH] DLM: Fix static buffer alignment

2008-01-14 Thread Fabio M. Di Nitto
Hi Steven, gcc does not guarantee that a static buffer is 64bit aligned. This change allows sparc64 to mount and use gfs2. Signed-off-by: Fabio M. Di Nitto <[EMAIL PROTECTED]> diff --git a/fs/dlm/midcomms.c b/fs/dlm/midcomms.c index f8c69dd..da653b5 100644 --- a/fs/dlm/midcomms.c +++ b/fs/dl

[Cluster-devel] conga luci/site/luci/Extensions/HelperFunction ...

2008-01-14 Thread rmccabe
CVSROOT:/cvs/cluster Module name:conga Changes by: [EMAIL PROTECTED] 2008-01-15 04:41:41 Modified files: luci/site/luci/Extensions: HelperFunctions.py LuciClusterInfo.py LuciValidation.py LuciZopeExternal.py

[Cluster-devel] Re: [PATCH 1/2] NLM failover unlock commands

2008-01-14 Thread Neil Brown
On Saturday January 12, [EMAIL PROTECTED] wrote: > This is a combined patch that has: > > * changes made by Christoph Hellwig > * code segment that handles f_locks so we would not walk inode->i_flock > list twice. > > If agreed, please re-add your "ack-by" and "signed-off" lines > respectively.

[Cluster-devel] Re: [PATCH 1/2] NLM failover unlock commands

2008-01-14 Thread Neil Brown
On Monday January 14, [EMAIL PROTECTED] wrote: > > > > +static ssize_t failover_unlock_ip(struct file *file, char *buf, size_t > > size) > > +{ > > + __be32 server_ip; > > + char *fo_path; > > + char *mesg; > > + > > + /* sanity check */ > > + if (size <= 0) > > + return -EIN

[Cluster-devel] Re: [PATCH 1/2] NLM failover unlock commands

2008-01-14 Thread J. Bruce Fields
On Sat, Jan 12, 2008 at 02:03:55AM -0500, Wendy Cheng wrote: > This is a combined patch that has: > > * changes made by Christoph Hellwig > * code segment that handles f_locks so we would not walk inode->i_flock > list twice. > > If agreed, please re-add your "ack-by" and "signed-off" lines > r

[Cluster-devel] cluster/cmirror/src cluster.c functions.c func ...

2008-01-14 Thread jbrassow
CVSROOT:/cvs/cluster Module name:cluster Branch: RHEL5 Changes by: [EMAIL PROTECTED] 2008-01-14 22:52:17 Modified files: cmirror/src: cluster.c functions.c functions.h link_mon.c link_mon.h local.c logging.h queues.c queues.h

[Cluster-devel] cluster/cmirror-kernel/src dm-clog-tfr.c dm-clog.c

2008-01-14 Thread jbrassow
CVSROOT:/cvs/cluster Module name:cluster Branch: RHEL5 Changes by: [EMAIL PROTECTED] 2008-01-14 22:46:58 Modified files: cmirror-kernel/src: dm-clog-tfr.c dm-clog.c Log message: - clear memory before it is written to. (was causing mirror CTR to fai

[Cluster-devel] cluster/group/daemon app.c cpg.c joinleave.c

2008-01-14 Thread teigland
CVSROOT:/cvs/cluster Module name:cluster Branch: RHEL5 Changes by: [EMAIL PROTECTED] 2008-01-14 20:54:30 Modified files: group/daemon : app.c cpg.c joinleave.c Log message: fix %llx printf warnings using (unsigned long long) bz 404451 Patc

[Cluster-devel] cluster/group/daemon app.c cpg.c joinleave.c

2008-01-14 Thread teigland
CVSROOT:/cvs/cluster Module name:cluster Changes by: [EMAIL PROTECTED] 2008-01-14 20:53:35 Modified files: group/daemon : app.c cpg.c joinleave.c Log message: fix %llx printf warnings using (unsigned long long) Patches: http://sourceware.org/cgi-bin/cvswe

[Cluster-devel] conga ./conga.spec.in.in luci/site/luci/Extens ...

2008-01-14 Thread rmccabe
CVSROOT:/cvs/cluster Module name:conga Changes by: [EMAIL PROTECTED] 2008-01-14 20:51:42 Modified files: . : conga.spec.in.in luci/site/luci/Extensions: cluster_adapters.py LuciDB.py luci/cluster : busy_wait-macro Log message:

[Cluster-devel] cluster/gfs-kernel/src/dlm thread.c

2008-01-14 Thread teigland
CVSROOT:/cvs/cluster Module name:cluster Branch: RHEL4 Changes by: [EMAIL PROTECTED] 2008-01-14 16:00:20 Modified files: gfs-kernel/src/dlm: thread.c Log message: bz 352731 I've looked at other users of kthread_stop()/kthread_should_

[Cluster-devel] cluster/dlm-kernel/src lockqueue.c

2008-01-14 Thread teigland
CVSROOT:/cvs/cluster Module name:cluster Branch: RHEL4 Changes by: [EMAIL PROTECTED] 2008-01-14 15:57:46 Modified files: dlm-kernel/src : lockqueue.c Log message: bz 351321 add_to_requestqueue() can add a new message to the requestqu

[Cluster-devel] cluster/gfs-kernel/src/dlm mount.c

2008-01-14 Thread teigland
CVSROOT:/cvs/cluster Module name:cluster Branch: RHEL4 Changes by: [EMAIL PROTECTED] 2008-01-14 15:35:30 Modified files: gfs-kernel/src/dlm: mount.c Log message: bz 324881 It's easy to tell if you've hit this bug, because a message l

[Cluster-devel] cluster/gfs-kernel/src/dlm group.c

2008-01-14 Thread teigland
CVSROOT:/cvs/cluster Module name:cluster Branch: RHEL4 Changes by: [EMAIL PROTECTED] 2008-01-14 15:29:43 Modified files: gfs-kernel/src/dlm: group.c Log message: bz 353311 Disassembling the module, the oops appears to be when derefer

[Cluster-devel] [PATCH] dlm: fix cross-platform error values

2008-01-14 Thread Patrick Caulfeld
Some errno values differ across platforms. So if we return things like -EINPROGRESS from one node it can get misinterpreted or rejected on another one. This patch fixes up the errno values passed on the wire so that they match the x86 ones (so as not to break the protocol), and re-instates the pla