• J
    Btrfs: do not allow logged extents to be merged or removed · 201a9038
    Josef Bacik 提交于
    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: NJosef Bacik <jbacik@fusionio.com>
    201a9038
extent_map.h 2.1 KB