diff options
author | Liu Bo <liubo2009@cn.fujitsu.com> | 2012-01-26 20:01:12 (GMT) |
---|---|---|
committer | Chris Mason <chris.mason@oracle.com> | 2012-01-26 20:01:12 (GMT) |
commit | 7ec31b548a17f773ab6289e795ed3a6820e8b56e (patch) | |
tree | c0c738e7c27e4ac6185f02acd76de64986218906 /fs/dlm/config.h | |
parent | 0b485143d835c019cddc45f46e4b3873dcc9aa4e (diff) | |
download | linux-fsl-qoriq-7ec31b548a17f773ab6289e795ed3a6820e8b56e.tar.xz |
Btrfs: do not defrag a file partially
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>
Diffstat (limited to 'fs/dlm/config.h')
0 files changed, 0 insertions, 0 deletions