--On Wednesday, April 27, 2005 16:06:15 -0400 Christopher Allen Wing <[EMAIL PROTECTED]> wrote:

Hmm, I just built today's CVS openafs-stable-1_4_x branch, and it is
hanging when I try to write to a file in AFS.

Interestingly, it works OK on an x86_64 machine, but not on i386.
(running Red Hat RHEL4 in both cases)


Processes hang in close() when they try to write to AFS.

This looks just like <https://lists.openafs.org/pipermail/openafs-info/2005-April/017481.html> Which I commented on in <https://lists.openafs.org/pipermail/openafs-info/2005-April/017652.html>

Try an SMP kernel, or the following short patch (some of the "more glock-ing" code is in cvs now than when I sent the first response:

Index: src/afs/LINUX/osi_machdep.h
===================================================================
RCS file: /cvs/openafs/src/afs/LINUX/osi_machdep.h,v
retrieving revision 1.29
diff -u -d -r1.29 osi_machdep.h
--- src/afs/LINUX/osi_machdep.h 24 Apr 2005 01:02:54 -0000 1.29
+++ src/afs/LINUX/osi_machdep.h 27 Apr 2005 20:53:55 -0000
@@ -199,7 +199,7 @@
/* function to help with the page offset stuff */
#define afs_linux_page_address(page) (afs_linux_page_offset + PAGE_SIZE * (page - mem_map))

-#if defined(__KERNEL__) && defined(CONFIG_SMP)
+#if defined(__KERNEL__)
#include "../h/sched.h"
#include "linux/wait.h"

Attachment: p7sNMe2HTtTcI.p7s
Description: S/MIME cryptographic signature



Reply via email to