Whamcloud - gitweb
- minor fixes after landing day
authoralex <alex>
Sat, 6 Aug 2005 14:54:40 +0000 (14:54 +0000)
committeralex <alex>
Sat, 6 Aug 2005 14:54:40 +0000 (14:54 +0000)
lustre/include/linux/lustre_dlm.h
lustre/mds/mds_open.c
lustre/mds/mds_reint.c

index c89c598..dad6885 100644 (file)
@@ -106,7 +106,7 @@ typedef enum {
 #define LDLM_FL_CLEANED        0x800000
 
 /* optimization hint: LDLM can run blocking callback from current context
- * w/o involving separate thread. in order to decrease cs rate -bzzz */
+ * w/o involving separate thread. in order to decrease cs rate */
 #define LDLM_FL_ATOMIC_CB      0x1000000
 
 /* while this flag is set, the lock can't change resource */
index 5c7fdef..2c32397 100644 (file)
@@ -1371,7 +1371,7 @@ got_child:
                 struct ldlm_res_id child_res_id = { .name = {0}};
                 ldlm_policy_data_t sz_policy;
                 struct lustre_handle sz_lockh;
-                int lock_flags = 0;
+                int lock_flags = LDLM_FL_ATOMIC_CB;
 
                 child_res_id.name[0] = id_fid(&body->id1);
                 child_res_id.name[1] = id_group(&body->id1);
index 52812f8..2abd839 100644 (file)
@@ -1429,7 +1429,7 @@ int enqueue_4ordered_locks(struct obd_device *obd,struct ldlm_res_id *p1_res_id,
 
         /* XXX we could send ASTs on all these locks first before blocking? */
         for (i = 0; i < 4; i++) {
-                flags = 0;
+                flags = LDLM_FL_ATOMIC_CB;
 
                 /* 
                  * nevertheless zeroed res_ids should be at the end of list, and