Whamcloud - gitweb
LU-14542 obd: tunable for sanity grant check
[fs/lustre-release.git] / lustre / ofd / lproc_ofd.c
index acff6b9..db81351 100644 (file)
@@ -1024,6 +1024,7 @@ LUSTRE_RW_ATTR(grant_compat_disable);
 LUSTRE_RO_ATTR(instance);
 
 LUSTRE_RO_ATTR(num_exports);
+LUSTRE_RW_ATTR(grant_check_threshold);
 
 struct lprocfs_vars lprocfs_ofd_obd_vars[] = {
        { .name =       "last_id",
@@ -1100,6 +1101,7 @@ static struct attribute *ofd_attrs[] = {
        &lustre_attr_recovery_time_soft.attr,
        &lustre_attr_ir_factor.attr,
        &lustre_attr_num_exports.attr,
+       &lustre_attr_grant_check_threshold.attr,
        &lustre_attr_seqs_allocated.attr,
        &lustre_attr_grant_precreate.attr,
        &lustre_attr_precreate_batch.attr,