+ /* Unfortunately, if quota master is too busy to handle the
+ * pre-dqacq in time and quota hash on ost is used up, we
+ * have to wait for the completion of in flight dqacq/dqrel,
+ * then try again */
+ if ((rc2 = lquota_chkquota(filter_quota_interface_ref, obd, oa->o_uid,
+ oa->o_gid, niocount)) == QUOTA_RET_ACQUOTA) {
+ OBD_FAIL_TIMEOUT(OBD_FAIL_OST_HOLD_WRITE_RPC, 90);
+ lquota_acquire(filter_quota_interface_ref, obd, oa->o_uid,
+ oa->o_gid);
+ }
+
+ if (rc2 < 0) {
+ rc = rc2;
+ GOTO(cleanup, rc);
+ }
+