Description of problem: Make the dlm work among cluster nodes with different endianness. Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
fixed in four upstream commits: (the first name changes just make all the others apply nicely) From 52bda2b5bab87c388848bbc0f4d28d04858d5a7d Mon Sep 17 00:00:00 2001 From: David Teigland <teigland> Date: Wed, 7 Nov 2007 09:06:49 -0600 Subject: [PATCH] dlm: use dlm prefix on alloc and free functions The dlm functions in memory.c should use the dlm_ prefix. Also, use kzalloc/kfree directly for dlm_direntry's, removing the wrapper functions. Signed-off-by: David Teigland <teigland> From e7847d35ac39fe92c94540e88ac3d0e177f52d9e Mon Sep 17 00:00:00 2001 From: Fabio M. Di Nitto <fabbione> Date: Wed, 30 Jan 2008 10:56:42 -0600 Subject: [PATCH] dlm: align midcomms message buffer gcc does not guarantee that an auto buffer is 64bit aligned. This change allows sparc64 to work. Signed-off-by: Fabio M. Di Nitto <fabbione> Signed-off-by: David Teigland <teigland> From 550283e30ccec5ddab9749a77b0022ebcaf0f3af Mon Sep 17 00:00:00 2001 From: Fabio M. Di Nitto <fabbione> Date: Tue, 15 Jan 2008 15:13:36 -0600 Subject: [PATCH] dlm: swap bytes for rcom lock reply DLM_RCOM_LOCK_REPLY messages need byte swapping. Signed-off-by: Fabio M. Di Nitto <fabbione> Signed-off-by: David Teigland <teigland> From 861e2369e9e7e003677f99f22c4d1f05d3ed66d3 Mon Sep 17 00:00:00 2001 From: David Teigland <teigland> Date: Tue, 15 Jan 2008 15:43:24 -0600 Subject: [PATCH] dlm: use fixed errno values in messages 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 platform-specific ones at the other end. Many thanks to Fabio for testing this patch. Initial patch from Patrick. Signed-off-by: Patrick Caulfield <pcaulfie> Signed-off-by: Fabio M. Di Nitto <fabbione> Signed-off-by: David Teigland <teigland>
This request was evaluated by Red Hat Product Management for inclusion in a Red Hat Enterprise Linux maintenance release. Product Management has requested further review of this request by Red Hat Engineering, for potential inclusion in a Red Hat Enterprise Linux Update release for currently deployed products. This request is not yet committed for inclusion in an Update release.
http://post-office.corp.redhat.com/archives/rhkernel-list/2008-June/msg00075.html
patches posted to rhkernel-list http://post-office.corp.redhat.com/archives/rhkernel-list/2008-June/msg00075.html http://post-office.corp.redhat.com/archives/rhkernel-list/2008-June/msg00076.html http://post-office.corp.redhat.com/archives/rhkernel-list/2008-June/msg00077.html http://post-office.corp.redhat.com/archives/rhkernel-list/2008-June/msg00078.html
in kernel-2.6.18-97.el5 You can download this test kernel from http://people.redhat.com/dzickus/el5
An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on therefore solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHSA-2009-0225.html