Lines Matching defs:discard
1298 * If this is discard request, set bi_vcnt 0. We don't
1348 * If this is discard request, set bi_vcnt 0. We don't
2012 bool fua = false, sync = false, discard = false;
2020 discard |= test_bit(R5_Discard, &sh->dev[i].flags);
2027 if (!discard && !test_bit(R5_SkipCopy, &dev->flags)) {
4139 /* now that discard is done we can proceed with any sync */
4142 * SCSI discard will change some bio fields and the stripe has
4483 /* discard potentially stale zero_sum_result */
5021 * Cannot process 'sync' concurrently with 'discard'.
5789 /* We need to handle this when io_uring supports discard/trim */
5794 /* Skip discard while reshape is happening */
8067 * We can only discard a whole stripe. It doesn't make sense to
8068 * discard data disk but write parity disk
8085 * could be lost. Consider a scenario: discard a stripe