PVFS encodes using a 64-bit blocking scheme; so if a 32 bit variable starts at the beginning of a 64-bit block and then a 64-bit variable comes next, we insert an additional 32 bits so that the 64-bit variable starts at the beginning of the next 64-bit block. Whether you need the additional bits depends entirely on the structure being encoded.
Becky 2011/7/20 欧佳欣 <[email protected]> > In src/proto/pvfs2-req-proto.h , when you define a new request ,you > create a struct and > then use a macro to create an encoding function for the > struct(endecode_fields_XX_struct). > but somtimes,in the args to those macros you insert a skip4. > So I want to know why you insert the skip4. and can you tell me when > and where you should place this? > > > _______________________________________________ > Pvfs2-developers mailing list > [email protected] > http://www.beowulf-underground.org/mailman/listinfo/pvfs2-developers > > -- Becky Ligon OrangeFS Support and Development Omnibond Systems Anderson, South Carolina
_______________________________________________ Pvfs2-developers mailing list [email protected] http://www.beowulf-underground.org/mailman/listinfo/pvfs2-developers
