Whamcloud - gitweb
b=6885
authoralex <alex>
Mon, 27 Jun 2005 15:52:45 +0000 (15:52 +0000)
committeralex <alex>
Mon, 27 Jun 2005 15:52:45 +0000 (15:52 +0000)
 - disable opencache feature in order to pass #3

lustre/mds/mds_open.c

index 5a28534..882dd51 100644 (file)
@@ -1342,7 +1342,9 @@ got_child:
                obd_fail_loc = OBD_FAIL_LDLM_REPLY | OBD_FAIL_ONCE;
                GOTO(cleanup, rc = -EAGAIN);
        }
+
+#warning "disable opencache lock for CMD2"
+#if 0
         /* Obtain OPEN lock as well */
         policy.l_inodebits.bits |= MDS_INODELOCK_OPEN;
 
@@ -1383,6 +1385,7 @@ got_child:
 
                 cleanup_phase = 3;
         }
+#endif
 
         /* Step 5: mds_open it */
         rc = mds_finish_open(req, dchild, body, rec->ur_flags, &handle,