Home
last modified time | relevance | path

Searched refs:min_nr_stripes (Results 1 – 4 of 4) sorted by relevance

/linux-6.1.9/drivers/md/
Draid5.h584 int min_nr_stripes; member
Draid5-cache.c345 if (total_cached > conf->min_nr_stripes * 1 / 2 || in r5c_check_stripe_cache_usage()
1441 if (total_cached > conf->min_nr_stripes * 3 / 4 || in r5c_do_reclaim()
1448 else if (total_cached > conf->min_nr_stripes * 1 / 2 || in r5c_do_reclaim()
2149 int new_size = conf->min_nr_stripes * 2; in r5c_recovery_analyze_meta_block()
2154 if (conf->min_nr_stripes <= new_size / 2) { in r5c_recovery_analyze_meta_block()
2159 conf->min_nr_stripes, in r5c_recovery_analyze_meta_block()
Draid5.c6830 ret = sprintf(page, "%d\n", conf->min_nr_stripes); in raid5_show_stripe_cache_size()
6844 conf->min_nr_stripes = size; in raid5_set_cache_size()
6856 conf->min_nr_stripes = conf->max_nr_stripes; in raid5_set_cache_size()
7063 else if (new > conf->min_nr_stripes) in raid5_store_preread_threshold()
7405 conf->max_nr_stripes > conf->min_nr_stripes) { in raid5_cache_scan()
7422 if (conf->max_nr_stripes < conf->min_nr_stripes) in raid5_cache_count()
7425 return conf->max_nr_stripes - conf->min_nr_stripes; in raid5_cache_count()
7630 conf->min_nr_stripes = NR_STRIPES; in setup_conf()
7635 conf->min_nr_stripes = max(NR_STRIPES, stripes); in setup_conf()
7636 if (conf->min_nr_stripes != NR_STRIPES) in setup_conf()
[all …]
Ddm-raid.c1560 if (conf->min_nr_stripes != nr_stripes) { in rs_set_raid456_stripe_cache()