|
@@ -443,7 +443,7 @@ show_store_one(od, up_threshold);
|
|
show_store_one(od, sampling_down_factor);
|
|
show_store_one(od, sampling_down_factor);
|
|
show_store_one(od, ignore_nice_load);
|
|
show_store_one(od, ignore_nice_load);
|
|
show_store_one(od, powersave_bias);
|
|
show_store_one(od, powersave_bias);
|
|
-declare_show_sampling_rate_min(od);
|
|
|
|
|
|
+show_one_common(od, min_sampling_rate);
|
|
|
|
|
|
gov_sys_pol_attr_rw(sampling_rate);
|
|
gov_sys_pol_attr_rw(sampling_rate);
|
|
gov_sys_pol_attr_rw(io_is_busy);
|
|
gov_sys_pol_attr_rw(io_is_busy);
|
|
@@ -451,10 +451,10 @@ gov_sys_pol_attr_rw(up_threshold);
|
|
gov_sys_pol_attr_rw(sampling_down_factor);
|
|
gov_sys_pol_attr_rw(sampling_down_factor);
|
|
gov_sys_pol_attr_rw(ignore_nice_load);
|
|
gov_sys_pol_attr_rw(ignore_nice_load);
|
|
gov_sys_pol_attr_rw(powersave_bias);
|
|
gov_sys_pol_attr_rw(powersave_bias);
|
|
-gov_sys_pol_attr_ro(sampling_rate_min);
|
|
|
|
|
|
+gov_sys_pol_attr_ro(min_sampling_rate);
|
|
|
|
|
|
static struct attribute *dbs_attributes_gov_sys[] = {
|
|
static struct attribute *dbs_attributes_gov_sys[] = {
|
|
- &sampling_rate_min_gov_sys.attr,
|
|
|
|
|
|
+ &min_sampling_rate_gov_sys.attr,
|
|
&sampling_rate_gov_sys.attr,
|
|
&sampling_rate_gov_sys.attr,
|
|
&up_threshold_gov_sys.attr,
|
|
&up_threshold_gov_sys.attr,
|
|
&sampling_down_factor_gov_sys.attr,
|
|
&sampling_down_factor_gov_sys.attr,
|
|
@@ -470,7 +470,7 @@ static struct attribute_group od_attr_group_gov_sys = {
|
|
};
|
|
};
|
|
|
|
|
|
static struct attribute *dbs_attributes_gov_pol[] = {
|
|
static struct attribute *dbs_attributes_gov_pol[] = {
|
|
- &sampling_rate_min_gov_pol.attr,
|
|
|
|
|
|
+ &min_sampling_rate_gov_pol.attr,
|
|
&sampling_rate_gov_pol.attr,
|
|
&sampling_rate_gov_pol.attr,
|
|
&up_threshold_gov_pol.attr,
|
|
&up_threshold_gov_pol.attr,
|
|
&sampling_down_factor_gov_pol.attr,
|
|
&sampling_down_factor_gov_pol.attr,
|