Lines Matching refs:discards
460 * If the destination device supports discards, remap and trim the
1181 struct bio_list discards = BIO_EMPTY_LIST;
1184 bio_list_merge(&discards, &clone->deferred_discard_bios);
1188 if (bio_list_empty(&discards))
1195 bio_list_for_each(bio, &discards) {
1208 while ((bio = bio_list_pop(&discards)))
1343 * dm-clone interprets discards and performs a fast hydration of the
1918 /* Enable discards */
2022 * discards. Disable discard_passdown if not.
2059 * device limits but discards aren't passed to the source device, so