• J
    Btrfs: fix release reserved extents trace points · 31bada7c
    Josef Bacik 提交于
    We were doing trace_btrfs_release_reserved_extent() in pin_down_extent which
    isn't quite right because we will go through and free that extent later when we
    unpin, so it messes up apps that are accounting for the reservation space.  We
    were also unconditionally doing it in __btrfs_free_reserved_extent(), when we
    only actually free the reservation instead of pinning the extent.  Thanks,
    Signed-off-by: NJosef Bacik <jbacik@fb.com>
    Signed-off-by: NDavid Sterba <dsterba@suse.com>
    31bada7c
extent-tree.c 303.3 KB