diff --git a/lustre/ptlrpc/service.c b/lustre/ptlrpc/service.c index aaf8091272de18ffb64f41c4cb4c0ff9700da7a4..974f5269ca6c7741b597f28d944f0dd7390629da 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;