Al, HJ,
please have a look at this patch, for inclusion into 2.4. It adds a
filesystem revalidate call to the NFS server. This is important if the
underlying filesystem is itself not a local filesystem.
I also have in-progress patches to ensure that NFS also obeys filesystem
locking semantics, via file->f_op->lock. Would you be willing to take
a look at those? They are critical for distributed filesystems to
work properly using Linux as a scalable/fault-tolerant NFS server.
Cheers, Andreas
--- linux-2.3.99-pre3/fs/nfsd/nfsfh.c.orig Thu Aug 3 16:34:44 2000
+++ linux-2.3.99-pre3/fs/nfsd/nfsfh.c Thu Aug 3 16:36:42 2000
@@ -631,6 +631,13 @@
inode = dentry->d_inode;
+ /* Before using this, we must revalidate with the filesystem. */
+ if (inode->i_op && inode->i_op->revalidate) {
+ error = inode->i_op->revalidate(dentry);
+ if (error)
+ goto out;
+ }
+
/* Type check. The correct error return for type mismatches
* does not seem to be generally agreed upon. SunOS seems to
* use EISDIR if file isn't S_IFREG; a comment in the NFSv3
-
To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in
the body of a message to [EMAIL PROTECTED]