NFS Question...

Trond Myklebust trond.myklebust en fys.uio.no
Lun Ene 24 11:05:06 CST 2000


>>>>> " " == Robert Dinse <nanook en 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 en vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



Más información sobre la lista de distribución Ayuda