* BUGS: added info about the direct mount problems on Linux and
authorIon Badulescu <ib42@cs.columbia.edu>
Sun, 29 Apr 2001 05:08:33 +0000 (05:08 +0000)
committerIon Badulescu <ib42@cs.columbia.edu>
Sun, 29 Apr 2001 05:08:33 +0000 (05:08 +0000)
about the kernel patches on www.am-utils.org.

* amd/autil.c (forcibly_timeout_mp): always log a message when the
forced unmount request is ignored

BUGS
ChangeLog
amd/autil.c

diff --git a/BUGS b/BUGS
index 528c4e7e1306d8d3626fe2a3dd2d3dfae1b4ae0b..a9f1906e671b19c6f60e15bf00fb52539dfdaf14 100644 (file)
--- a/BUGS
+++ b/BUGS
@@ -150,4 +150,13 @@ If you're using NFSv3, you must install HP patches PHNE_20344 and
 PHNE_20371.  If you don't, and you try to use amd with NFSv3 over TCP, your
 kernel will panic.
 
+(11) *-linux* (any system using a 2.2.18+ kernel)
+
+The Linux kernels don't support Amd's direct mounts very well, leading to
+erratic behavior: shares that don't get remounted after the first timeout,
+inability to restart Amd because its mount points cannot be unmounted,
+etc. There are some kernel patches on the am-utils Web site, which solve
+these problems.
+
+
 Erez.
index 0294edf633d9cf695a93e17bfb05b17f2f1add0f..852fc85d9023a0cfa8b689c8dbbb9db47cc7123b 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2001-04-28  Ion Badulescu  <ionut@moisil.dev.hydraweb.com>
+
+       * BUGS: added info about the direct mount problems on Linux and
+       about the kernel patches on www.am-utils.org.
+
+       * amd/autil.c (forcibly_timeout_mp): always log a message when the
+       forced unmount request is ignored
+
 2001-04-23  Ion Badulescu  <ionut@buggy.dev.hydraweb.com>
 
        * amd/ops_autofs.c (autofs_lookuppn): renamed
index 3ec1d5c7fa1ea5799a5d92fdc69ec5988f9f87b4..f76b67aa8e5a549e2da432868eb0d0e5594c0b35 100644 (file)
@@ -38,7 +38,7 @@
  *
  *      %W% (Berkeley) %G%
  *
- * $Id: autil.c,v 1.4.2.1 2001/01/10 03:23:04 ezk Exp $
+ * $Id: autil.c,v 1.4.2.2 2001/04/29 05:08:35 ib42 Exp $
  *
  */
 
@@ -219,7 +219,9 @@ forcibly_timeout_mp(am_node *mp)
    */
   if (mf && ((mp->am_flags & AMF_ROOT) ||
             (mf->mf_flags & (MFF_MOUNTING | MFF_UNMOUNTING)))) {
-    if (!(mf->mf_flags & MFF_UNMOUNTING))
+    if (mf->mf_flags & MFF_UNMOUNTING)
+      plog(XLOG_WARNING, "node %s is currently being unmounted, ignoring timeout request", mp->am_path);
+    else
       plog(XLOG_WARNING, "ignoring timeout request for active node %s", mp->am_path);
   } else {
     plog(XLOG_INFO, "\"%s\" forcibly timed out", mp->am_path);