Whamcloud - gitweb
LU-1095: debug: Clarify a IR message about support.
[fs/lustre-release.git] / lustre / obdclass / lprocfs_status.c
index cf41921..0b4941f 100644 (file)
@@ -2426,11 +2426,13 @@ int lprocfs_obd_rd_recovery_status(char *page, char **start, off_t off,
                                          "last_transno: "LPD64"\n",
                                          obd->obd_next_recovery_transno - 1)<=0)
                         goto out;
-                if (lprocfs_obd_snprintf(&page, size, &len, "VBR: %s\n",
-                                         obd->obd_version_recov ? "ON" : "OFF")<=0)
+               if (lprocfs_obd_snprintf(&page, size, &len, "VBR: %s\n",
+                                        obd->obd_version_recov ?
+                                        "ENABLED" : "DISABLED") <=0)
                         goto out;
-                if (lprocfs_obd_snprintf(&page, size, &len, "IR: %s\n",
-                                         obd->obd_no_ir ? "OFF" : "ON") <= 0)
+               if (lprocfs_obd_snprintf(&page, size, &len, "IR: %s\n",
+                                        obd->obd_no_ir ?
+                                        "DISABLED" : "ENABLED") <= 0)
                         goto out;
                 goto fclose;
         }