Lines Matching full:trimming
1255 * At this point trimming or scrub can't start on this block group, in btrfs_remove_block_group()
1260 * if they didn't, for the trimming case they won't find any free space in btrfs_remove_block_group()
1267 * avoid races with trimming and scrub. in btrfs_remove_block_group()
1270 * completely transactionless, so while it is trimming a range the in btrfs_remove_block_group()
1491 int trimming; in btrfs_delete_unused_bgs() local
1658 * then trimming is handled in the transaction commit path. in btrfs_delete_unused_bgs()
1659 * Async discard interposes before this to do the trimming in btrfs_delete_unused_bgs()
1660 * before coming down the unused block group path as trimming in btrfs_delete_unused_bgs()
1670 trimming = btrfs_test_opt(fs_info, DISCARD_SYNC) || in btrfs_delete_unused_bgs()
1674 if (trimming) in btrfs_delete_unused_bgs()
1684 if (trimming) in btrfs_delete_unused_bgs()
1694 if (trimming) { in btrfs_delete_unused_bgs()
4536 * tasks trimming this block group have left 1 entry each one. in btrfs_unfreeze_block_group()