From 8836250d75d60f7bdec32f2eae2f8c54f667dd7d Mon Sep 17 00:00:00 2001 From: tappro Date: Tue, 19 Sep 2006 07:00:57 +0000 Subject: [PATCH] last_commit transno is needed in any request --- lustre/mdt/mdt_handler.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/lustre/mdt/mdt_handler.c b/lustre/mdt/mdt_handler.c index b42cb26..6f18cce 100644 --- a/lustre/mdt/mdt_handler.c +++ b/lustre/mdt/mdt_handler.c @@ -1437,13 +1437,9 @@ static int mdt_req_handle(struct mdt_thread_info *info, /* If we're DISCONNECTing, the mdt_export_data is already freed */ -#if 0 - if (h->mh_opc != MDS_DISCONNECT && - h->mh_opc != MDS_READPAGE && - h->mh_opc != LDLM_ENQUEUE) { - mdt_finish_reply(info, req->rq_status); + if (rc == 0 && h->mh_opc != MDS_DISCONNECT) { + target_committed_to_req(req); } -#endif RETURN(rc); } -- 1.8.3.1