#
1aa75fea |
| 17-Aug-2009 |
Tao Ma <tao.ma@oracle.com> |
ocfs2: Add functions for extents refcounted.
Add function ocfs2_mark_extent_refcounted which can mark an extent refcounted.
Signed-off-by: Tao Ma <tao.ma@oracle.com>
|
#
1823cb0b |
| 17-Aug-2009 |
Tao Ma <tao.ma@oracle.com> |
ocfs2: Add support of decrementing refcount for delete.
Given a physical cpos and length, decrement the refcount in the tree. If the refcount for any portion of the extent goes to zero, that por
ocfs2: Add support of decrementing refcount for delete.
Given a physical cpos and length, decrement the refcount in the tree. If the refcount for any portion of the extent goes to zero, that portion is queued for freeing.
Signed-off-by: Tao Ma <tao.ma@oracle.com>
show more ...
|
Revision tags: v2.6.31-rc6 |
|
#
e73a819d |
| 11-Aug-2009 |
Tao Ma <tao.ma@oracle.com> |
ocfs2: Add support for incrementing refcount in the tree.
Given a physical cpos and length, increment the refcount in the tree. If the extent has not been seen before, a refcount record is creat
ocfs2: Add support for incrementing refcount in the tree.
Given a physical cpos and length, increment the refcount in the tree. If the extent has not been seen before, a refcount record is created for it. Refcount records may be merged or split by this operation.
Signed-off-by: Tao Ma <tao.ma@oracle.com>
show more ...
|
#
8bf396de |
| 23-Aug-2009 |
Tao Ma <tao.ma@oracle.com> |
ocfs2: Basic tree root operation.
Add basic refcount tree root operation.
Signed-off-by: Tao Ma <tao.ma@oracle.com>
|
#
374a263e |
| 23-Aug-2009 |
Tao Ma <tao.ma@oracle.com> |
ocfs2: Add refcount tree lock mechanism.
Implement locking around struct ocfs2_refcount_tree. This protects all read/write operations on refcount trees. ocfs2_refcount_tree has its own lock and it
ocfs2: Add refcount tree lock mechanism.
Implement locking around struct ocfs2_refcount_tree. This protects all read/write operations on refcount trees. ocfs2_refcount_tree has its own lock and its own caching_info, protecting buffers among multiple nodes.
User must call ocfs2_lock_refcount_tree before his operation on the tree and unlock it after that.
ocfs2_refcount_trees are referenced by the block number of the refcount tree root block, So we create an rb-tree on the ocfs2_super to look them up.
Signed-off-by: Tao Ma <tao.ma@oracle.com>
show more ...
|
#
c732eb16 |
| 17-Aug-2009 |
Tao Ma <tao.ma@oracle.com> |
ocfs2: Add caching info for refcount tree.
refcount tree should use its own caching info so that when we downconvert the refcount tree lock, we can drop all the cached buffer head.
Signed-off-by: T
ocfs2: Add caching info for refcount tree.
refcount tree should use its own caching info so that when we downconvert the refcount tree lock, we can drop all the cached buffer head.
Signed-off-by: Tao Ma <tao.ma@oracle.com>
show more ...
|
#
f2c870e3 |
| 17-Aug-2009 |
Tao Ma <tao.ma@oracle.com> |
ocfs2: Add ocfs2_read_refcount_block.
Signed-off-by: Tao Ma <tao.ma@oracle.com>
|