Whamcloud - gitweb
- wake up the processing thread when a client completes, because it may make
authorshaver <shaver>
Sun, 28 Sep 2003 05:25:08 +0000 (05:25 +0000)
committershaver <shaver>
Sun, 28 Sep 2003 05:25:08 +0000 (05:25 +0000)
queued + completed = max, at which point we should proceed.

- fix operand inversion in procfs stats calculation.

lustre/ldlm/ldlm_lib.c

index 1e80268..ac70c9b 100644 (file)
@@ -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;