Home
last modified time | relevance | path

Searched refs:unused_bgs (Results 1 – 5 of 5) sorted by relevance

/linux/fs/btrfs/
H A Dblock-group.c1504 * Process the unused_bgs list and remove any that don't have any allocated
1530 while (!list_empty(&fs_info->unused_bgs)) { in btrfs_delete_unused_bgs()
1534 block_group = list_first_entry(&fs_info->unused_bgs, in btrfs_delete_unused_bgs()
1554 * to the unused_bgs code path. Therefore, if it's not fully in btrfs_delete_unused_bgs()
1617 * fs_info->unused_bgs list. in btrfs_delete_unused_bgs()
1740 * fs_info->unused_bgs, so use a list_move operation in btrfs_delete_unused_bgs()
1754 list_splice_tail(&retry_list, &fs_info->unused_bgs); in btrfs_delete_unused_bgs()
1762 list_splice_tail(&retry_list, &fs_info->unused_bgs); in btrfs_delete_unused_bgs()
1777 list_add_tail(&bg->bg_list, &fs_info->unused_bgs); in btrfs_mark_bg_unused()
1781 list_move_tail(&bg->bg_list, &fs_info->unused_bgs); in btrfs_mark_bg_unused()
[all...]
H A Ddiscard.c35 * being added to the unused_bgs list, we add it to this first list. Then
36 * from there, if it becomes fully discarded, we place it onto the unused_bgs
465 * unused and send it to the unused_bgs path. Otherwise, pass it onto the
490 * bitmaps. Completely discarded block groups are sent to the unused_bgs path.
683 * Punt unused_bgs list to discard lists.
687 * The unused_bgs list needs to be punted to the discard lists because the
691 * it must be done before going down the unused_bgs path.
699 list_for_each_entry_safe(block_group, next, &fs_info->unused_bgs, in btrfs_discard_punt_unused_bgs_list()
718 * are completely free and ready for the unused_bgs path. As discarding will
721 * way to the unused_bgs lis
[all...]
H A Dfs.h798 /* Protects the lists unused_bgs and reclaim_bgs. */
801 struct list_head unused_bgs; member
H A Dzoned.c2886 list_for_each_entry(bg, &fs_info->unused_bgs, bg_list) { in btrfs_reset_unused_block_groups()
H A Ddisk-io.c2818 INIT_LIST_HEAD(&fs_info->unused_bgs); in btrfs_init_fs_info()