git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0b48514
)
Btrfs: do not defrag a file partially
author
Liu Bo
<liubo2009@cn.fujitsu.com>
Thu, 26 Jan 2012 20:01:12 +0000
(15:01 -0500)
committer
Chris Mason
<chris.mason@oracle.com>
Thu, 26 Jan 2012 20:01:12 +0000
(15:01 -0500)
xfstests 218 complains that btrfs defrags a file partially:
After: 1
Write backwards sync, but contiguous - should defrag to 1 extent
Before: 10
-After: 1
+After: 2
To fix this, we need to set max_to_defrag count properly.
Signed-off-by: Liu Bo <liubo2009@cn.fujitsu.com>
Signed-off-by: Chris Mason <chris.mason@oracle.com>
No differences found