Whamcloud - gitweb
- allow seq and fld recovery.
authoryury <yury>
Thu, 7 Sep 2006 07:21:26 +0000 (07:21 +0000)
committeryury <yury>
Thu, 7 Sep 2006 07:21:26 +0000 (07:21 +0000)
lustre/mds/handler.c
lustre/mdt/mdt_handler.c

index f2ad741..0634e8b 100644 (file)
@@ -1234,6 +1234,8 @@ int mds_filter_recovery_request(struct ptlrpc_request *req,
         case MDS_SYNC: /* used in unmounting */
         case OBD_PING:
         case MDS_REINT:
+        case SEQ_QUERY:
+        case FLD_QUERY:
         case LDLM_ENQUEUE:
                 *process = target_queue_recovery_request(req, obd);
                 RETURN(0);
index 22f6de1..140bcda 100644 (file)
@@ -1337,7 +1337,7 @@ static int mdt_req_handle(struct mdt_thread_info *info,
         rc = 0;
         LASSERT(current->journal_info == NULL);
 
-        if (flags & HABEO_CLAVIS && info->mti_mdt->mdt_opts.mo_compat_resname){
+        if (flags & HABEO_CLAVIS && info->mti_mdt->mdt_opts.mo_compat_resname) {
                 struct ldlm_reply *dlmrep;
 
                 dlmrep = req_capsule_server_get(&info->mti_pill, &RMF_DLM_REP);