From 7a6df05aa41ebe6fef466b1a31ac83f1cc7f20f6 Mon Sep 17 00:00:00 2001 From: "w.li" Date: Wed, 15 Jul 2009 13:26:38 +0000 Subject: [PATCH] Branch b_release_1_8_1 b=19980 i=alexey.lyashkov i=andrew.perepechko Subtract evicted clients from "completed_clients" in recovery_status. --- lustre/obdclass/lprocfs_status.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lustre/obdclass/lprocfs_status.c b/lustre/obdclass/lprocfs_status.c index d4ab8c0..6dea637 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, -- 1.8.3.1