Whamcloud - gitweb
last_commit transno is needed in any request
authortappro <tappro>
Tue, 19 Sep 2006 07:00:57 +0000 (07:00 +0000)
committertappro <tappro>
Tue, 19 Sep 2006 07:00:57 +0000 (07:00 +0000)
lustre/mdt/mdt_handler.c

index b42cb26..6f18cce 100644 (file)
@@ -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);
 }