Re: NFS Question...

From: Trond Myklebust (trond.myklebust@fys.uio.no)
Date: Mon Jan 24 2000 - 06:57:09 EST


>>>>> " " == Robert Dinse <nanook@eskimo.com> writes:

> Can anybody tell me what these mean:

> NFS: cache locked for 00:0c/386891 NFS: cache locked for

They're harmless. Basically, the NFS client tried to invalidate a
cache that is in the process of being read in. The error message can
be ignored.

If the messages annoy you, please apply the following (trivially
correct) patch.

Cheers,
  Trond

--- linux-2.2.14/fs/nfs/dir.c.orig Tue Jan 4 19:12:23 2000
+++ linux-2.2.14/fs/nfs/dir.c Mon Jan 24 12:55:05 2000
@@ -309,6 +309,8 @@
                         continue;
                 if (cache->dev != dev)
                         continue;
+ if (!cache->valid)
+ continue;
                 if (cache->locked) {
                         printk("NFS: cache locked for %s/%ld\n",
                                 kdevname(dev), (long) ino);

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Mon Jan 31 2000 - 21:00:12 EST