X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;f=lustre%2Fptlrpc%2Fclient.c;fp=lustre%2Fptlrpc%2Fclient.c;h=fff2296afdb1fcfbdc1ae5ce0fd808d191cbfdd1;hb=d8012811cc6ff9c7f0fb1ddfec9461e9ff963e54;hp=5b74d897fb8c7272643aa2347836cab547a079c2;hpb=f236119e6e264b00c20533336303f694d9cfe766;p=fs%2Flustre-release.git diff --git a/lustre/ptlrpc/client.c b/lustre/ptlrpc/client.c index 5b74d89..fff2296 100644 --- a/lustre/ptlrpc/client.c +++ b/lustre/ptlrpc/client.c @@ -1936,6 +1936,11 @@ int ptlrpc_check_set(const struct lu_env *env, struct ptlrpc_request_set *set) } if (req->rq_err) { + if (!ptlrpc_unregister_reply(req, 1)) { + ptlrpc_unregister_bulk(req, 1); + continue; + } + spin_lock(&req->rq_lock); req->rq_replied = 0; spin_unlock(&req->rq_lock);