diff options
author | Pádraig Brady <P@draigBrady.com> | 2011-04-05 11:04:13 +0100 |
---|---|---|
committer | Pádraig Brady <P@draigBrady.com> | 2011-04-06 23:15:19 +0100 |
commit | 18f5a8537c49d87a7ba5c3fa0bcf9215bf9877a7 (patch) | |
tree | 7d49768fa78a69249ea8b149db2cfdeb813350bd /src/tail.c | |
parent | 8b2bedadb565489085e24833da34175e2be7e4cc (diff) | |
download | coreutils-18f5a8537c49d87a7ba5c3fa0bcf9215bf9877a7.tar.xz |
copy: handle mergeable extents across fiemap scans
* extent-scan.h (extent_scan_free): Init the pointer to NULL,
and reset the count to 0, so that we can realloc the buffer.
* src/extent-scan.c (extent_scan_init): Likewise.
(extent_scan_read): Loop over multiple fiemap scans, so we handle
mergeable extents that span across fiemap scan boundaries. Once
we have enough unique extents, return so as to minimize memory use.
Diffstat (limited to 'src/tail.c')
0 files changed, 0 insertions, 0 deletions