Searched refs:cluster_bg (Results 1 – 1 of 1) sorted by relevance
3510 struct btrfs_block_group *cluster_bg; in find_free_extent_clustered() local3516 cluster_bg = btrfs_lock_cluster(bg, last_ptr, ffe_ctl->delalloc); in find_free_extent_clustered()3517 if (!cluster_bg) in find_free_extent_clustered()3519 if (cluster_bg != bg && (cluster_bg->ro || in find_free_extent_clustered()3520 !block_group_bits(cluster_bg, ffe_ctl->flags))) in find_free_extent_clustered()3523 offset = btrfs_alloc_from_cluster(cluster_bg, last_ptr, in find_free_extent_clustered()3524 ffe_ctl->num_bytes, cluster_bg->start, in find_free_extent_clustered()3529 trace_btrfs_reserve_extent_cluster(cluster_bg, ffe_ctl); in find_free_extent_clustered()3530 *cluster_bg_ret = cluster_bg; in find_free_extent_clustered()3534 WARN_ON(last_ptr->block_group != cluster_bg); in find_free_extent_clustered()[all …]