[Ocfs2-devel] [PATCH 1/2] ocfs2-tools: Add extended attribute support in mkfs.ocfs2

Tiger Yang tiger.yang at oracle.com
Mon Jul 28 22:49:52 PDT 2008


Joel Becker wrote:

>> +struct ocfs2_xattr_entry {
>> +	__le32	xe_name_hash;
>> +	__le16	xe_name_offset;
>> +	__u8	xe_name_len;
>> +	__u8	xe_type : 7;
>> +	__u8	xe_local : 1;
>> +	__le64	xe_value_size;
>> +};
> 
> 	We removed the bitfields.

Do we really remove the bitfields? We have no space for new u8 in 
xattr_entry.
Mark said we just need change the bottom bit for xe_local.

> 
> 	This got shuffled around for a 64bit checksum field.  Etc.  Can
> you sync up with Tao?
> 
sure. I will sync up those data struct with Tao.

Thanks,
tiger



More information about the Ocfs2-devel mailing list