Lines Matching full:trimming
1122 * At this point trimming or scrub can't start on this block group, in btrfs_remove_block_group()
1127 * if they didn't, for the trimming case they won't find any free space in btrfs_remove_block_group()
1134 * avoid races with trimming and scrub. in btrfs_remove_block_group()
1137 * completely transactionless, so while it is trimming a range the in btrfs_remove_block_group()
1351 int trimming; in btrfs_delete_unused_bgs() local
1466 * then trimming is handled in the transaction commit path. in btrfs_delete_unused_bgs()
1467 * Async discard interposes before this to do the trimming in btrfs_delete_unused_bgs()
1468 * before coming down the unused block group path as trimming in btrfs_delete_unused_bgs()
1475 trimming = btrfs_test_opt(fs_info, DISCARD_SYNC); in btrfs_delete_unused_bgs()
1478 if (trimming) in btrfs_delete_unused_bgs()
1488 if (trimming) in btrfs_delete_unused_bgs()
1498 if (trimming) { in btrfs_delete_unused_bgs()
3431 * tasks trimming this block group have left 1 entry each one. in btrfs_unfreeze_block_group()