From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tiger Yang Date: Wed, 11 Feb 2009 10:33:23 +0800 Subject: [Ocfs2-devel] [PATCH 0/2] ocfs2: two fixes for xattr Message-ID: <499238F3.9010208@oracle.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: ocfs2-devel@oss.oracle.com Hi, For EAs data structure in inode/block are little different from them in bucket. These two patches try to make them same for the most part. The first patch set xh_free_start and xh_name_value_len when EAs in inode/block. xh_free_start is useful to keep the minimum offset of the xattr name/value. But xh_name_value_len is not very useful because we don't have "hole" when EAs in inode/block, we just calculate and set it here, maybe it's useful for fsck. The second patch reserve a blank space between xattr entry and name/value when EAs in bucket. This is same as EAs in inode/block and is useful in fsck. Thanks, tiger