Home
last modified time | relevance | path

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

/openbmc/linux/drivers/md/
H A Draid5.h584 int min_nr_stripes; member
H A Draid5-cache.c346 if (total_cached > conf->min_nr_stripes * 1 / 2 || in r5c_check_stripe_cache_usage()
1443 if (total_cached > conf->min_nr_stripes * 3 / 4 || in r5c_do_reclaim()
1450 else if (total_cached > conf->min_nr_stripes * 1 / 2 || in r5c_do_reclaim()
2153 int new_size = conf->min_nr_stripes * 2; in r5c_recovery_analyze_meta_block()
2158 if (conf->min_nr_stripes <= new_size / 2) { in r5c_recovery_analyze_meta_block()
2163 conf->min_nr_stripes, in r5c_recovery_analyze_meta_block()
H A Draid5.c6887 ret = sprintf(page, "%d\n", conf->min_nr_stripes); in raid5_show_stripe_cache_size()
6901 WRITE_ONCE(conf->min_nr_stripes, size); in raid5_set_cache_size()
6913 WRITE_ONCE(conf->min_nr_stripes, conf->max_nr_stripes); in raid5_set_cache_size()
7120 else if (new > conf->min_nr_stripes) in raid5_store_preread_threshold()
7462 conf->max_nr_stripes > conf->min_nr_stripes) { in raid5_cache_scan()
7479 int min_stripes = READ_ONCE(conf->min_nr_stripes); in raid5_cache_count()
7689 conf->min_nr_stripes = NR_STRIPES; in setup_conf()
7694 conf->min_nr_stripes = max(NR_STRIPES, stripes); in setup_conf()
7695 if (conf->min_nr_stripes != NR_STRIPES) in setup_conf()
7697 mdname(mddev), conf->min_nr_stripes); in setup_conf()
[all …]
H A Ddm-raid.c1561 if (conf->min_nr_stripes != nr_stripes) { in rs_set_raid456_stripe_cache()