diff options
author | Tao Ma <tao.ma@oracle.com> | 2009-09-21 01:04:19 -0400 |
---|---|---|
committer | Joel Becker <joel.becker@oracle.com> | 2009-09-22 23:09:43 -0400 |
commit | 0129241e2b3b90ff83a8c774353e5612d84bd493 (patch) | |
tree | eec03f874cbdbc4c9eab4900f2de89fd1747a5ee /fs/ocfs2/refcounttree.h | |
parent | 47bca4950bc40fb54e9d41cbbc8b06cd653d2ae2 (diff) |
ocfs2: Attach xattr clusters to refcount tree.
In ocfs2, when xattr's value is larger than OCFS2_XATTR_INLINE_SIZE,
it will be kept outside of the blocks we store xattr entry. And they
are stored in a b-tree also. So this patch try to attach all these
clusters to refcount tree also.
Signed-off-by: Tao Ma <tao.ma@oracle.com>
Diffstat (limited to 'fs/ocfs2/refcounttree.h')
-rw-r--r-- | fs/ocfs2/refcounttree.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/fs/ocfs2/refcounttree.h b/fs/ocfs2/refcounttree.h index d09d64b29810..7d6900c904d4 100644 --- a/fs/ocfs2/refcounttree.h +++ b/fs/ocfs2/refcounttree.h | |||
@@ -83,4 +83,11 @@ int ocfs2_refcount_cow_xattr(struct inode *inode, | |||
83 | struct buffer_head *ref_root_bh, | 83 | struct buffer_head *ref_root_bh, |
84 | u32 cpos, u32 write_len, | 84 | u32 cpos, u32 write_len, |
85 | struct ocfs2_post_refcount *post); | 85 | struct ocfs2_post_refcount *post); |
86 | int ocfs2_add_refcount_flag(struct inode *inode, | ||
87 | struct ocfs2_extent_tree *data_et, | ||
88 | struct ocfs2_caching_info *ref_ci, | ||
89 | struct buffer_head *ref_root_bh, | ||
90 | u32 cpos, u32 p_cluster, u32 num_clusters, | ||
91 | struct ocfs2_cached_dealloc_ctxt *dealloc, | ||
92 | struct ocfs2_post_refcount *post); | ||
86 | #endif /* OCFS2_REFCOUNTTREE_H */ | 93 | #endif /* OCFS2_REFCOUNTTREE_H */ |