Re: Problems with knfsd-1.[23] and NFSv3-0.9.3

Trond Myklebust (trond.myklebust@fys.uio.no)
12 May 1999 09:14:12 +0200


root <root@godel.ee.washington.edu> writes:

>
> My problems are with kernel NFS server. Is it correct that the nsfd-2.2.7-1
> patch from knfsd-1.3 is required for the kernel nfs server to function
> correctly? It turns out that both H. J. Lu's patch and Trond's patch fiddle
> with the file fs/nfs/dir.c. In particular, the exact diff in
> nfsd-2.2.7-1.patch:
>
> diff -upr --new-file ../../../import/kernel/linux/fs/nfs/dir.c linux/fs/nfs/dir.c
> if (old_dentry->d_count > 1) {
> nfs_wb_all(old_inode);
> - shrink_dcache_parent(old_dentry);
> +/* shrink_dcache_parent(old_dentry); FIXME */
> }
> + goto do_rename;
>
> Since the label 'do_rename' is removed by Trond's patches, the kernel won't
> compile with both sets of patches installed.
>
> So my questions are:
>
> 1) is the nfsd-2.2.7-1 patch required for a linux-2.2.7 system that is
> expected to serve NFS volumes to a cluster of computers running
> a mixture of solaris/sunos/linux-2.0/linux-2.2?

knfsd should not be touching the NFSv3 client. Any parts which do,
can and should be removed.

Cheers,
Trond

-
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/