aboutsummaryrefslogtreecommitdiffstats
path: root/lib/string_helpers.c
diff options
context:
space:
mode:
authorLiu Bo <[email protected]>2012-03-29 13:57:45 +0000
committerChris Mason <[email protected]>2012-03-29 13:57:45 +0000
commit17ce6ef8d731af5edac8c39e806db4c7e1f6956f (patch)
tree4a54d3c5618efff3deec03fa5d32a42c0a8fc804 /lib/string_helpers.c
parentBtrfs: fix recursive defragment with autodefrag option (diff)
downloadkernel-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