copy: merge similar extents before processing
authorPádraig Brady <P@draigBrady.com>
Mon, 7 Mar 2011 08:34:35 +0000 (08:34 +0000)
committerPádraig Brady <P@draigBrady.com>
Fri, 11 Mar 2011 00:50:10 +0000 (00:50 +0000)
commit3ed0384c4171def286f5a9fbad4d89da7b0775aa
tree24197938d4e675982d1e1a79679307922ab6f154
parent194c1e89a41cab90e871bf120ccf37ce4ab4dc9c
copy: merge similar extents before processing

* src/extent-scan.c (extent_scan_read):  Merge adjacent extents
that vary only in size, so that we may process them more efficiently.
This will be especially useful when we introduce fallocate()
so that we don't reproduce fragmentation in the destination.
src/extent-scan.c