#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 */
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);
/* 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