From: Vladimir V. Saveliev Date: Tue, 26 Jan 2010 16:12:40 +0000 (+0100) Subject: b=19405 do not flag a request as rq_replay for non replayable imports X-Git-Tag: v1_8_2_50~48 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=d6ae322d7cbd68bd01ff9fb201fe9f9a6bb37988;p=fs%2Flustre-release.git b=19405 do not flag a request as rq_replay for non replayable imports i=ericm i=robert --- diff --git a/lustre/mdc/mdc_locks.c b/lustre/mdc/mdc_locks.c index a5ad574..b8f69e9 100644 --- a/lustre/mdc/mdc_locks.c +++ b/lustre/mdc/mdc_locks.c @@ -318,7 +318,7 @@ static struct ptlrpc_request *mdc_intent_open_pack(struct obd_export *exp, if (req) { spin_lock(&req->rq_lock); - req->rq_replay = 1; + req->rq_replay = req->rq_import->imp_replayable; spin_unlock(&req->rq_lock); /* pack the intent */