From: yury Date: Tue, 21 Oct 2008 17:21:21 +0000 (+0000) Subject: b=17323 X-Git-Tag: v1_7_130~1^50 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=06b53cb60f25983b9bc2d7435ae03cf1281d9d06;p=fs%2Flustre-release.git b=17323 r=adilger,johann - fixes log_cancel resend handling --- diff --git a/lustre/ptlrpc/client.c b/lustre/ptlrpc/client.c index 2ff3d18..3aa63ff 100644 --- a/lustre/ptlrpc/client.c +++ b/lustre/ptlrpc/client.c @@ -1156,7 +1156,11 @@ int ptlrpc_check_set(struct ptlrpc_request_set *set) spin_unlock(&imp->imp_lock); req->rq_waiting = 0; - if (req->rq_resend) { + + if (req->rq_timedout||req->rq_resend) { + /* This is re-sending anyways, + * let's mark req as resend. */ + req->rq_resend = 1; lustre_msg_add_flags(req->rq_reqmsg, MSG_RESENT); if (req->rq_bulk) {