From 89696de27841157fe6d232a6586829cae8289345 Mon Sep 17 00:00:00 2001 From: vs Date: Wed, 13 May 2009 17:00:11 +0000 Subject: [PATCH] b=19405 i=ericm i=rread do not flag a request as rq_replay for non replayable imports --- 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 2f22f1a..cd7792e 100644 --- a/lustre/mdc/mdc_locks.c +++ b/lustre/mdc/mdc_locks.c @@ -310,7 +310,7 @@ static struct ptlrpc_request *mdc_intent_open_pack(struct obd_export *exp, } 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