Skip to content
Commit 201a9038 authored by Josef Bacik's avatar Josef Bacik
Browse files

Btrfs: do not allow logged extents to be merged or removed



We drop the extent map tree lock while we're logging extents, so somebody
could come in and merge another extent into this one and screw up our
logging, or they could even remove us from the list which would keep us from
logging the extent or freeing our ref on it, so we need to make sure to not
clear LOGGING until after the extent is logged, and then we can merge it to
adjacent extents.  Thanks,

Signed-off-by: default avatarJosef Bacik <jbacik@fusionio.com>
parent a105bb88
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment