From: w.li Date: Wed, 15 Jul 2009 13:19:41 +0000 (+0000) Subject: Branch b1_8 X-Git-Tag: v1_8_2_01~1^2~253 X-Git-Url: https://git.whamcloud.com/gitweb?a=commitdiff_plain;h=fea1c6a5246fdb86075f527bc9dbc5e4f44d838b;p=fs%2Flustre-release.git Branch b1_8 b=19980 i=alexey.lyashkov i=andrew.perepechko Subtract evicted clients from "completed_clients" in recovery_status. --- diff --git a/lustre/obdclass/lprocfs_status.c b/lustre/obdclass/lprocfs_status.c index 1abdb1b..d2a5dcf 100644 --- a/lustre/obdclass/lprocfs_status.c +++ b/lustre/obdclass/lprocfs_status.c @@ -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,