From 40f5bbd0594f3211daa7c0a441ac9f05e21219e8 Mon Sep 17 00:00:00 2001 From: phil Date: Sun, 27 Jun 2004 16:26:27 +0000 Subject: [PATCH] b=3652 r=rread A quick workaround for bug 3652, in which we hold the logging semaphore across an rpc. Robert thinks that this file can be cleaned up substantially, but that this fix is sufficient for CMD. --- lustre/ptlrpc/recov_thread.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lustre/ptlrpc/recov_thread.c b/lustre/ptlrpc/recov_thread.c index 1dc989b..305789f 100644 --- a/lustre/ptlrpc/recov_thread.c +++ b/lustre/ptlrpc/recov_thread.c @@ -368,9 +368,9 @@ static int log_commit_thread(void *arg) ptlrpc_req_finished(request); continue; } + up(&llcd->llcd_ctxt->loc_sem); rc = ptlrpc_queue_wait(request); ptlrpc_req_finished(request); - up(&llcd->llcd_ctxt->loc_sem); /* If the RPC failed, we put this and the remaining * messages onto the resend list for another time. */ -- 1.8.3.1