[Pvfs2-developers] viewdist get-eattr endianness

Sam Lang slang at mcs.anl.gov
Mon Apr 16 12:52:02 EDT 2007


Hi All,

Attached is a patch that tries to get viewdist working properly when  
client and server have different endianness.  The basic issue was  
that viewdist uses get-eattr to get the datafile handle array, which  
prevents the encoding/decoding of the handles.  The attached patch  
adds encoding/decoding to known extended attributes (those in the  
system.pvfs2. namespace).

FYI:  I moved the pint-eattr.[hc] files from src/server/ to src/ 
common/misc so that the client can use them as well.  The changes  
made to those files are essentially in the addition of encoding/ 
decoding callouts for the "dh" eattr.

-sam

-------------- next part --------------
A non-text attachment was scrubbed...
Name: viewdist-endian.patch
Type: application/octet-stream
Size: 30193 bytes
Desc: not available
Url : http://www.beowulf-underground.org/pipermail/pvfs2-developers/attachments/20070416/42f71ed4/viewdist-endian-0001.obj


More information about the Pvfs2-developers mailing list