commit | 0257bb82d21bedff26541bcf12f1461c23f9ed61 | [log] [tgz] |
---|---|---|
author | Yan, Zheng <zheng.yan@oracle.com> | Thu Sep 24 09:17:31 2009 -0400 |
committer | Chris Mason <chris.mason@oracle.com> | Thu Sep 24 09:17:31 2009 -0400 |
tree | 0b79fd9bf377094f6fa6f5f923fe192515672af3 | |
parent | f679a84034be6f7da123be786bbd8838bf3e9207 [diff] |
Btrfs: relocate file extents in clusters 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>