Re: Linux 2.4.19pre4-ac1

Neil Brown (neilb@cse.unsw.edu.au)
Wed, 27 Mar 2002 13:07:00 +1100 (EST)


On Wednesday March 27, afu@fugmann.dhs.org wrote:
> Thanks.
>
> It seems that there is some more problems.
> I have not verified the lookup (since I just booted right away with the patch), but
> I have found that:
>
> Mar 26 23:56:58 gw kernel: nfsd: LOOKUP(3) 24: 03000001 03000900 00000002 0000106d 0000106c 0000070d WMRootMenu
> Mar 26 23:56:58 gw kernel: RPC request reserved 240 but used 244
>
> Mar 27 00:30:09 gw kernel: nfsd: CREATE(3) 24: 03000001 03000900 00000002 00000003 00000002 00000000 test
> Mar 27 00:30:09 gw kernel: RPC request reserved 272 but used 276
>
> Mar 27 00:30:21 gw kernel: nfsd: SYMLINK(3) 24: 03000001 03000900 00000002 00000003 00000002 00000000 test1 -> test
> Mar 27 00:30:21 gw kernel: RPC request reserved 272 but used 276
>
> And there might be others.

I bet you're using reisferfs ???

It occasionaly uses filehandles longer than 32 bytes (the max for
NFSv2) and my calculations forgot that nfsv3 allows for 64 bytes.
So "9" (8 longs and a count) should be "17" (16 longs and a count).

Thanks again,
NeilBrown

--- fs/nfsd/nfs3proc.c 2002/03/18 01:44:00 1.3
+++ fs/nfsd/nfs3proc.c 2002/03/27 02:04:30
@@ -662,15 +662,15 @@
PROC(null, void, void, void, RC_NOCACHE, 1),
PROC(getattr, fhandle, attrstat, fhandle, RC_NOCACHE, 1+21),
PROC(setattr, sattr, wccstat, fhandle, RC_REPLBUFF, 1+7+22),
- PROC(lookup, dirop, dirop, fhandle2, RC_NOCACHE, 1+9+22+22),
+ PROC(lookup, dirop, dirop, fhandle2, RC_NOCACHE, 1+17+22+22),
PROC(access, access, access, fhandle, RC_NOCACHE, 1+22+1),
PROC(readlink, fhandle, readlink, fhandle, RC_NOCACHE, 1+22+1+256),
PROC(read, read, read, fhandle, RC_NOCACHE, 1+22+4+NFSSVC_MAXBLKSIZE),
PROC(write, write, write, fhandle, RC_REPLBUFF, 1+7+22+4),
- PROC(create, create, create, fhandle2, RC_REPLBUFF, 1+(1+9+22)+7+22),
- PROC(mkdir, mkdir, create, fhandle2, RC_REPLBUFF, 1+(1+9+22)+7+22),
- PROC(symlink, symlink, create, fhandle2, RC_REPLBUFF, 1+(1+9+22)+7+22),
- PROC(mknod, mknod, create, fhandle2, RC_REPLBUFF, 1+(1+9+22)+7+22),
+ PROC(create, create, create, fhandle2, RC_REPLBUFF, 1+(1+17+22)+7+22),
+ PROC(mkdir, mkdir, create, fhandle2, RC_REPLBUFF, 1+(1+17+22)+7+22),
+ PROC(symlink, symlink, create, fhandle2, RC_REPLBUFF, 1+(1+17+22)+7+22),
+ PROC(mknod, mknod, create, fhandle2, RC_REPLBUFF, 1+(1+17+22)+7+22),
PROC(remove, dirop, wccstat, fhandle, RC_REPLBUFF, 1+7+22),
PROC(rmdir, dirop, wccstat, fhandle, RC_REPLBUFF, 1+7+22),
PROC(rename, rename, rename, fhandle2, RC_REPLBUFF, 1+7+22+7+22),
@@ -679,6 +679,6 @@
PROC(readdirplus,readdirplus, readdir, fhandle, RC_NOCACHE, 0),
PROC(fsstat, fhandle, fsstat, void, RC_NOCACHE, 1+14),
PROC(fsinfo, fhandle, fsinfo, void, RC_NOCACHE, 1+13),
- PROC(pathconf, fhandle, pathconf, void, RC_NOCACHE, 1+6),
+ PROC(pathconf, fhandle, pathconf, void, RC_NOCACHE, 1+7),
PROC(commit, commit, commit, fhandle, RC_NOCACHE, 1+7+22+2),
};
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/