Whamcloud - gitweb
Branch b1_8
authorw.li <w.li>
Wed, 15 Jul 2009 13:19:41 +0000 (13:19 +0000)
committerw.li <w.li>
Wed, 15 Jul 2009 13:19:41 +0000 (13:19 +0000)
b=19980
i=alexey.lyashkov
i=andrew.perepechko

Subtract evicted clients from "completed_clients" in recovery_status.

lustre/obdclass/lprocfs_status.c

index 1abdb1b..d2a5dcf 100644 (file)
@@ -2037,7 +2037,8 @@ int lprocfs_obd_rd_recovery_status(char *page, char **start, off_t off,
                                          "completed_clients: %d/%d\n",
                                          obd->obd_max_recoverable_clients -
                                          obd->obd_recoverable_clients -
-                                         obd->obd_delayed_clients,
+                                         obd->obd_delayed_clients -
+                                         obd->obd_stale_clients,
                                          obd->obd_max_recoverable_clients) <= 0)
                         goto out;
                 if (lprocfs_obd_snprintf(&page, size, &len,