[pnfs] Status meeting pNFS

William A.(Andy) Adamson andros at citi.umich.edu
Thu Aug 31 11:52:16 EDT 2006


> On Thu, Aug 31, 2006 at 11:38:27AM -0400, William A.(Andy) Adamson wrote:
> > bhalevy at panasas.com said:
> > > Currently the layout needs to be encoded in XDR by the file system code
> > > which means preceding the opaque layout with a 4 byte, XDR encoded  length.
> > > If you want to keep the file system ignorant about XDR then the  routing also
> > > needs to return the length of whatever it encoded opaquely  and the nfsd
> > > should "frame" the layout bits with XDR length and realign  resp->p if
> > > needed. 
> > 
> > it's not so much keeping the file system ignorant of the XDR as it is keeping 
> > the nfs layer ignorant of the file system opaque layout.
> 
> That makes sense.  But there's no reason not to allow the filesystem to
> share common xdr code with NFS, if the filesystem happens to be using
> xdr encoding for the opaque layout object.  (Which probably is a
> sensible choice.)  Right?

which common xdr code are you talking about?




More information about the pNFS mailing list