From d6ae322d7cbd68bd01ff9fb201fe9f9a6bb37988 Mon Sep 17 00:00:00 2001 From: "Vladimir V. Saveliev" Date: Tue, 26 Jan 2010 17:12:40 +0100 Subject: [PATCH] b=19405 do not flag a request as rq_replay for non replayable imports i=ericm i=robert --- lustre/mdc/mdc_locks.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 */ -- 1.8.3.1