From e96e4c5f76e7ca9a7761cbeb86cebd3543b87b2a Mon Sep 17 00:00:00 2001 From: "robert.read" <robert.read> Date: Tue, 28 Oct 2008 23:17:00 +0000 Subject: [PATCH] Branch HEAD 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 aaf8091272..974f5269ca 100644 --- a/lustre/ptlrpc/service.c +++ b/lustre/ptlrpc/service.c @@ -679,7 +679,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