Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
LU-12932 lod: restore qos_thresholdrr sysfs file
[fs/lustre-release.git]
/
lustre
/
lod
/
lproc_lod.c
diff --git
a/lustre/lod/lproc_lod.c
b/lustre/lod/lproc_lod.c
index
8297ae3
..
6a64861
100644
(file)
--- a/
lustre/lod/lproc_lod.c
+++ b/
lustre/lod/lproc_lod.c
@@
-453,8
+453,8
@@
static ssize_t qos_prio_free_show(struct kobject *kobj,
* Set QoS free space priority parameter.
*
* Set the relative priority of free OST space compared to OST load when OSTs
* Set QoS free space priority parameter.
*
* Set the relative priority of free OST space compared to OST load when OSTs
- * are space imbalanced. See
lod_qos_priofree_seq
_show() for description of
- * this parameter. See
lod_qos_thresholdrr_seq_writ
e() and lq_threshold_rr to
+ * are space imbalanced. See
qos_priofree
_show() for description of
+ * this parameter. See
qos_thresholdrr_stor
e() and lq_threshold_rr to
* determine what constitutes "space imbalanced" OSTs.
*/
static ssize_t __qos_prio_free_store(struct kobject *kobj,
* determine what constitutes "space imbalanced" OSTs.
*/
static ssize_t __qos_prio_free_store(struct kobject *kobj,
@@
-522,7
+522,7
@@
static ssize_t mdt_qos_thresholdrr_show(struct kobject *kobj,
return __qos_thresholdrr_show(kobj, attr, buf, true);
}
return __qos_thresholdrr_show(kobj, attr, buf, true);
}
-static ssize_t
lod_
qos_thresholdrr_show(struct kobject *kobj,
+static ssize_t qos_thresholdrr_show(struct kobject *kobj,
struct attribute *attr, char *buf)
{
return __qos_thresholdrr_show(kobj, attr, buf, false);
struct attribute *attr, char *buf)
{
return __qos_thresholdrr_show(kobj, attr, buf, false);
@@
-569,15
+569,15
@@
static ssize_t mdt_qos_thresholdrr_store(struct kobject *kobj,
return __qos_thresholdrr_store(kobj, attr, buffer, count, true);
}
return __qos_thresholdrr_store(kobj, attr, buffer, count, true);
}
-static ssize_t
lod_
qos_thresholdrr_store(struct kobject *kobj,
-
struct attribute *attr,
-
const char *buffer, size_t count)
+static ssize_t qos_thresholdrr_store(struct kobject *kobj,
+ struct attribute *attr,
+ const char *buffer, size_t count)
{
return __qos_thresholdrr_store(kobj, attr, buffer, count, false);
}
LUSTRE_RW_ATTR(mdt_qos_thresholdrr);
{
return __qos_thresholdrr_store(kobj, attr, buffer, count, false);
}
LUSTRE_RW_ATTR(mdt_qos_thresholdrr);
-LUSTRE_RW_ATTR(
lod_
qos_thresholdrr);
+LUSTRE_RW_ATTR(qos_thresholdrr);
/**
* Show expiration period used to refresh cached statfs data, which
/**
* Show expiration period used to refresh cached statfs data, which
@@
-908,7
+908,7
@@
static struct attribute *lod_attrs[] = {
&lustre_attr_numobd.attr,
&lustre_attr_qos_maxage.attr,
&lustre_attr_qos_prio_free.attr,
&lustre_attr_numobd.attr,
&lustre_attr_qos_maxage.attr,
&lustre_attr_qos_prio_free.attr,
- &lustre_attr_
lod_
qos_thresholdrr.attr,
+ &lustre_attr_qos_thresholdrr.attr,
&lustre_attr_mdt_stripecount.attr,
&lustre_attr_mdt_stripetype.attr,
&lustre_attr_mdt_activeobd.attr,
&lustre_attr_mdt_stripecount.attr,
&lustre_attr_mdt_stripetype.attr,
&lustre_attr_mdt_activeobd.attr,