From: John B. <joh...@hp...> - 2006-05-11 17:00:57
|
Aneesh Kumar wrote: > On 5/11/06, Aneesh Kumar <ane...@gm...> wrote: >> Hi John and Brian, >> >> What is the specific requirment of using XDR within ICS. ? I see >> structures like pt_regs being encoded using ics directly. As per our >> last discussion most of these structures are marked OOL. So with XDR >> we encode them with XDR routines and out then as OOL data. But then if >> all the nodes involved in clustering are of same endian do we need to >> encode them using XDR routines ? >> > > After looking at the code again i guess i understand what is > happening. For structures carrying pointers to another data type we > need the XDR param type. You don't need it. XDR is just a convenient way of generating the glue for a complex structure. You can always write the marshaling routines by hand and drop the XDR. > > I have dropped from the latest ICS code the openssirpcgen. I am right > now looking at NFS and understanding how to do the work the same way > they are doing. > > > -aneesh > |