[pnfs] [PATCH 0/8] nfsd: convert xdr x-coding to use function vectors
Benny Halevy
bhalevy at panasas.com
Mon Jun 30 13:59:43 EDT 2008
Bruce,
In the last connectathon we discussed conversion of the nfsd xdr processing
to use function vectors rather than the big switch statements it currently
use. This makes the nfs41 implementation cleaner. Plus, I fixed a couple
bugs in the process on error paths.
[PATCH 1/8] nfsd: return nfserr_minor_vers_mismatch when compound minorversion != 0
This actually fixes a couple bugs:
- nfserr_minor_vers_mismatch would be returned only for opnum == 2
and minorversion!=0. Must be returned for the whole compound.
- opcnt on the reply must be set to 0 according to rfc3530
[PATCH 2/8] nfsd: tabulate nfs4 xdr decoding functions
[PATCH 3/8] nfsd: unsupported nfs4 ops should fail with nfserr_opnotsupp
This fixes another bug, where before unimplemented functions would have
returned nfserr_op_illegal rather than nfserr_opnotsupp as required.
[PATCH 4/8] nfsd: nfs4 minorversion decoder vectors
[PATCH 5/8] nfsd: tabulate nfs4 xdr encoding functions
[PATCH 6/8] nfsd: dprint operation names
The first six patches apply to 2.6.26-rc8
[PATCH 7/8] nfsd41: xdr stubs
[PATCH 8/8] nfsd41: proc stubs
These two patches are for the nfs41 branch.
(currently placed early in the series on my private tree)
xdr stubs implement the nfs41 decoders in a vecotr of their own.
Benny
More information about the pNFS
mailing list