diff options
author | Josef Bacik <jbacik@fb.com> | 2015-03-13 22:12:08 +0300 |
---|---|---|
committer | Chris Mason <clm@fb.com> | 2015-03-13 23:46:59 +0300 |
commit | 8461a3de770477a9a7b8eeaebcc4804dbc26ca38 (patch) | |
tree | ecc53b9674656520190d46a3e93f5a5cabfe67a2 /mm | |
parent | 48da5f0a4cb2b6b44579f5737e8be888c0d02526 (diff) | |
download | linux-8461a3de770477a9a7b8eeaebcc4804dbc26ca38.tar.xz |
Btrfs: fix merge delalloc logic
My patch to properly count outstanding extents wrt MAX_EXTENT_SIZE introduced a
regression when re-dirtying already dirty areas. We have logic in split to make
sure we are taking the largest space into account but didn't have it for merge,
so it was sometimes making us think we were turning a tiny extent into a huge
extent, when in reality we already had a huge extent and needed to use the other
side in our logic. This fixes the regression that was reported by a user on
list. Thanks,
Reported-by: Markus Trippelsdorf <markus@trippelsdorf.de>
Signed-off-by: Josef Bacik <jbacik@fb.com>
Signed-off-by: Chris Mason <clm@fb.com>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions