tristan
2010-Jan-27 11:36 UTC
[Ocfs2-devel] [PATCH 0/3] Ocfs2: Optimize ocfs2 truncating codes.
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.