[Ocfs2-devel] [PATCH 0/3] Ocfs2: Optimize ocfs2 truncating codes.

tristan tristan.ye at oracle.com
Wed Jan 27 03:36:19 PST 2010


Hi all,

Optimization for ocfs2 truncating including following three patches, our 
main goal is to generalize truncating codes by using
common ocfs2_remove_btree_range() together with punching holes codes, 
besides, refcount supporting codes will be transfered from
ocfs2_commit_truncate() to ocfs2_remove_btree_range() to let it be more 
generic, which will also benefit our punching holes codes
as well.

Such patches has been tested slightly(with normal and corner testcases), 
heavier workload are going to be expected.

We're going to optimize the punching holes codes in next series, on one 
hand, to truncate records as truncting codes did(from hole_end to 
hole_start),
on the other hand, add refcount supporting for it.


Regards,
Tristan.



More information about the Ocfs2-devel mailing list