diff options
| author | Liu Bo <[email protected]> | 2012-03-29 13:57:45 +0000 |
|---|---|---|
| committer | Chris Mason <[email protected]> | 2012-03-29 13:57:45 +0000 |
| commit | 17ce6ef8d731af5edac8c39e806db4c7e1f6956f (patch) | |
| tree | 4a54d3c5618efff3deec03fa5d32a42c0a8fc804 /lib/string_helpers.c | |
| parent | Btrfs: fix recursive defragment with autodefrag option (diff) | |
| download | kernel-17ce6ef8d731af5edac8c39e806db4c7e1f6956f.tar.gz kernel-17ce6ef8d731af5edac8c39e806db4c7e1f6956f.zip | |
Btrfs: add a check to decide if we should defrag the range
If our file's layout is as follows:
| hole | data1 | hole | data2 |
we do not need to defrag this file, because this file has holes and
cannot be merged into one extent.
Signed-off-by: Liu Bo <[email protected]>
Signed-off-by: Chris Mason <[email protected]>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions
