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
1783 if (cache->features.discard_passdown) { in process_discard_bio()
2125 cf->discard_passdown = true; in init_features()
2168 cf->discard_passdown = false; in parse_features()
2998 unsigned count = (cf->metadata_version == 2) + !cf->discard_passdown + 1; in emit_flags()
3020 if (!cf->discard_passdown) in emit_flags()
3151 DMEMIT(",no_discard_passdown=%c", cache->features.discard_passdown ? 'n' : 'y'); in cache_status()
3363 if (!cache->features.discard_passdown) in disable_passdown_if_not_supported()
3375 cache->features.discard_passdown = false; in disable_passdown_if_not_supported()
3384 if (!cache->features.discard_passdown) { in set_discard_limits()
Ddm-thin.c218 bool discard_passdown:1; member
2512 return pt->adjusted_pf.discard_passdown; in passdown_enabled()
2841 if (!pt->adjusted_pf.discard_passdown) in disable_passdown_if_not_supported()
2852 pt->adjusted_pf.discard_passdown = false; in disable_passdown_if_not_supported()
2897 pf->discard_passdown = true; in pool_features_init()
3166 pf->discard_passdown = false; in parse_pool_features()
3393 if (pf.discard_enabled && pf.discard_passdown) { in pool_ctr()
3885 !pf->discard_passdown + (pf->mode == PM_READ_ONLY) + in emit_flags()
3895 if (!pf->discard_passdown) in emit_flags()
4003 else if (pool->pf.discard_passdown) in pool_status()