Whamcloud - gitweb
LU-6124 test: skip tests require remote server with nodsh set
[fs/lustre-release.git] / lustre / fid / fid_request.c
index d4b2555..8cb64f1 100644 (file)
@@ -110,15 +110,13 @@ static int seq_client_rpc(struct lu_client_seq *seq,
                debug_mask = D_INFO;
        }
 
-       ptlrpc_at_set_req_timeout(req);
+       /* Allow seq client RPC during recovery time. */
+       req->rq_allow_replay = 1;
 
-       if (opc != SEQ_ALLOC_SUPER && seq->lcs_type == LUSTRE_SEQ_METADATA)
-               mdc_get_rpc_lock(exp->exp_obd->u.cli.cl_rpc_lock, NULL);
+       ptlrpc_at_set_req_timeout(req);
 
        rc = ptlrpc_queue_wait(req);
 
-       if (opc != SEQ_ALLOC_SUPER && seq->lcs_type == LUSTRE_SEQ_METADATA)
-               mdc_put_rpc_lock(exp->exp_obd->u.cli.cl_rpc_lock, NULL);
        if (rc)
                GOTO(out_req, rc);