commit | 976331d8789d4d84a11b45b87c520ade83715343 | [log] [tgz] |
---|---|---|
author | Tao Ma <tao.ma@oracle.com> | Wed Nov 12 08:26:57 2008 +0800 |
committer | Mark Fasheh <mfasheh@suse.com> | Mon Jan 05 08:34:18 2009 -0800 |
tree | c167f7655162e6ddbf62a3680c3272b101f06a45 | |
parent | 757055adc5d41b910bdead925060f077dd2d9169 [diff] |
ocfs2/xattr: Only extend xattr bucket in need. When the first block of a bucket is filled up with xattr entries, we normally extend the bucket. But if we are just replace one xattr with small length, we don't need to extend it. This is important since we will calculate what we need before the transaction and in this situation no resources will be allocated. Signed-off-by: Tao Ma <tao.ma@oracle.com> Signed-off-by: Mark Fasheh <mfasheh@suse.com>