Btrfs: relocate file extents in clusters
authorYan, Zheng <zheng.yan@oracle.com>
Thu, 24 Sep 2009 13:17:31 +0000 (09:17 -0400)
committerChris Mason <chris.mason@oracle.com>
Thu, 24 Sep 2009 13:17:31 +0000 (09:17 -0400)
The extent relocation code copy file extents one by one when
relocating data block group. This is inefficient if file
extents are small. This patch makes the relocation code copy
file extents in clusters. So we can can make better use of
read-ahead.

Signed-off-by: Yan Zheng <zheng.yan@oracle.com>
Signed-off-by: Chris Mason <chris.mason@oracle.com>

No differences found