From: tappro Date: Tue, 19 Sep 2006 07:00:57 +0000 (+0000) Subject: last_commit transno is needed in any request X-Git-Tag: v1_8_0_110~486^2~906 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=8836250d75d60f7bdec32f2eae2f8c54f667dd7d;p=fs%2Flustre-release.git last_commit transno is needed in any request --- 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); }