Speed improvement and bug fixes for ext3 converter
authorYan Zheng <yanzheng@21cn.com>
Thu, 24 Apr 2008 18:57:50 +0000 (14:57 -0400)
committerDavid Woodhouse <dwmw2@hera.kernel.org>
Thu, 24 Apr 2008 18:57:50 +0000 (14:57 -0400)
commit4415143185b8c3ac799301a72a9cdbbd746fc723
tree77c2037cbf7abe6745295f5de2d75f16fdd17482
parent309ce6768b29f72815ab8301b3670c7d8f7af307
Speed improvement and bug fixes for ext3 converter

This patch improves converter's allocator and fixes a bug in data relocation
function. The new allocator caches free blocks as Btrfs's default allocator.
In testing here, the user CPU time reduced to half of the original when
checksum and small file packing was disabled. This patch also enlarges the
size of block groups created by the converter.
convert.c
ctree.h
extent-tree.c