From 448f828a65de99ed40c5648c8b2bc562cd03db6f Mon Sep 17 00:00:00 2001 From: "robert.read" <robert.read> Date: Tue, 28 Oct 2008 23:17:40 +0000 Subject: [PATCH] Branch b1_6 b=17491 i=nathan i=rread Quick fix patch from behlendorf1@llnl.gov. --- lustre/ptlrpc/service.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lustre/ptlrpc/service.c b/lustre/ptlrpc/service.c index 128532e801..0514398b65 100644 --- a/lustre/ptlrpc/service.c +++ b/lustre/ptlrpc/service.c @@ -658,7 +658,7 @@ static int ptlrpc_at_add_timed(struct ptlrpc_request *req) /* Add to sorted list. Presumably latest rpcs will have the latest deadlines, so search backward. */ list_for_each_entry_reverse(rq, &svc->srv_at_list, rq_timed_list) { - if (req->rq_deadline > rq->rq_deadline) { + if (req->rq_deadline >= rq->rq_deadline) { list_add(&req->rq_timed_list, &rq->rq_timed_list); found++; break; -- GitLab