[pnfs] Status meeting pNFS
Benny Halevy
bhalevy at panasas.com
Thu Aug 31 02:32:42 EDT 2006
William A.(Andy) Adamson wrote:
>> On Wed, Aug 30, 2006 at 02:11:41PM -0400, William A.(Andy) Adamson wrote:
>>
>>> this is so layout modules will not have to include nfs .h files in
>>> order to compile.
>>>
>> That's kind of an odd requirement, isn't it?
>>
>
> nope. the layout can be encoded anyway the file system wants.
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.
> nfsd does the
> nfs stuff, the file system does the file system stuff, and the file system
> should not be required to include .h's not in its layer.
>
> -->Andy
>
More information about the pNFS
mailing list