diff --git a/lustre/ptlrpc/service.c b/lustre/ptlrpc/service.c index 128532e801f0b9b981569caf43ef9dc5ec59b1c2..0514398b65c495cba72fdc0467341fd375269933 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;