|
|
@@ -733,7 +733,7 @@ static void cs_ipcs_check_for_flow_control(void)
|
|
|
if (ais_service[i] == NULL || ipcs_mapper[i].inst == NULL) {
|
|
|
continue;
|
|
|
}
|
|
|
- fc_enabled = QB_TRUE;
|
|
|
+ fc_enabled = QB_IPCS_RATE_OFF;
|
|
|
if (ipc_fc_is_quorate == 1 ||
|
|
|
ais_service[i]->allow_inquorate == CS_LIB_ALLOW_INQUORATE) {
|
|
|
/*
|
|
|
@@ -743,10 +743,12 @@ static void cs_ipcs_check_for_flow_control(void)
|
|
|
if (ipc_fc_totem_queue_level != TOTEM_Q_LEVEL_CRITICAL &&
|
|
|
ipc_fc_sync_in_process == 0) {
|
|
|
fc_enabled = QB_FALSE;
|
|
|
+ } else {
|
|
|
+ fc_enabled = QB_IPCS_RATE_OFF_2;
|
|
|
}
|
|
|
}
|
|
|
if (fc_enabled) {
|
|
|
- qb_ipcs_request_rate_limit(ipcs_mapper[i].inst, QB_IPCS_RATE_OFF);
|
|
|
+ qb_ipcs_request_rate_limit(ipcs_mapper[i].inst, fc_enabled);
|
|
|
|
|
|
qb_loop_timer_add(cs_poll_handle_get(), QB_LOOP_MED, 1*QB_TIME_NS_IN_MSEC,
|
|
|
NULL, corosync_recheck_the_q_level, &ipcs_check_for_flow_control_timer);
|