Lines Matching full:trimming
1246 * At this point trimming or scrub can't start on this block group, in btrfs_remove_block_group()
1251 * if they didn't, for the trimming case they won't find any free space in btrfs_remove_block_group()
1258 * avoid races with trimming and scrub. in btrfs_remove_block_group()
1261 * completely transactionless, so while it is trimming a range the in btrfs_remove_block_group()
1481 int trimming; in btrfs_delete_unused_bgs() local
1640 * then trimming is handled in the transaction commit path. in btrfs_delete_unused_bgs()
1641 * Async discard interposes before this to do the trimming in btrfs_delete_unused_bgs()
1642 * before coming down the unused block group path as trimming in btrfs_delete_unused_bgs()
1652 trimming = btrfs_test_opt(fs_info, DISCARD_SYNC) || in btrfs_delete_unused_bgs()
1656 if (trimming) in btrfs_delete_unused_bgs()
1666 if (trimming) in btrfs_delete_unused_bgs()
1676 if (trimming) { in btrfs_delete_unused_bgs()
4478 * tasks trimming this block group have left 1 entry each one. in btrfs_unfreeze_block_group()