From: shaver Date: Sun, 28 Sep 2003 05:25:08 +0000 (+0000) Subject: - wake up the processing thread when a client completes, because it may make X-Git-Tag: v1_7_0_51~2^7~490 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=6175449edfbd8e7e441d6349d6da40e3208a2df8;p=fs%2Flustre-release.git - wake up the processing thread when a client completes, because it may make queued + completed = max, at which point we should proceed. - fix operand inversion in procfs stats calculation. --- diff --git a/lustre/ldlm/ldlm_lib.c b/lustre/ldlm/ldlm_lib.c index 1e80268..ac70c9b 100644 --- a/lustre/ldlm/ldlm_lib.c +++ b/lustre/ldlm/ldlm_lib.c @@ -743,6 +743,7 @@ int target_queue_final_reply(struct ptlrpc_request *req, int rc) } else { CERROR("%s: %d recoverable clients remain\n", obd->obd_name, obd->obd_recoverable_clients); + wake_up(&obd->obd_next_transno_waitq); } return 1;