Home
last modified time | relevance | path

Searched refs:discard_passdown (Results 1 – 2 of 2) sorted by relevance

/drivers/md/
Ddm-cache-target.c279 bool discard_passdown:1; member
1775 if (cache->features.discard_passdown) { in process_discard_bio()
2116 cf->discard_passdown = true; in init_features()
2159 cf->discard_passdown = false; in parse_features()
2990 unsigned int count = (cf->metadata_version == 2) + !cf->discard_passdown + 1; in emit_flags()
3012 if (!cf->discard_passdown) in emit_flags()
3143 DMEMIT(",no_discard_passdown=%c", cache->features.discard_passdown ? 'n' : 'y'); in cache_status()
3347 if (!cache->features.discard_passdown) in disable_passdown_if_not_supported()
3359 cache->features.discard_passdown = false; in disable_passdown_if_not_supported()
3368 if (!cache->features.discard_passdown) { in set_discard_limits()
Ddm-thin.c218 bool discard_passdown:1; member
2501 return pt->adjusted_pf.discard_passdown; in passdown_enabled()
2822 if (!pt->adjusted_pf.discard_passdown) in disable_passdown_if_not_supported()
2833 pt->adjusted_pf.discard_passdown = false; in disable_passdown_if_not_supported()
2878 pf->discard_passdown = true; in pool_features_init()
3145 pf->discard_passdown = false; in parse_pool_features()
3366 if (pf.discard_enabled && pf.discard_passdown) { in pool_ctr()
3858 !pf->discard_passdown + (pf->mode == PM_READ_ONLY) + in emit_flags()
3868 if (!pf->discard_passdown) in emit_flags()
3976 else if (pool->pf.discard_passdown) in pool_status()