Lines Matching refs:trimming
1246 * At this point trimming or scrub can't start on this block group,
1251 * if they didn't, for the trimming case they won't find any free space
1258 * avoid races with trimming and scrub.
1261 * completely transactionless, so while it is trimming a range the
1493 int trimming;
1652 * then trimming is handled in the transaction commit path.
1653 * Async discard interposes before this to do the trimming
1654 * before coming down the unused block group path as trimming
1664 trimming = btrfs_test_opt(fs_info, DISCARD_SYNC) ||
1668 if (trimming)
1678 if (trimming)
1688 if (trimming) {
4492 * tasks trimming this block group have left 1 entry each one.