From 05ea7bd80e98fd9bad4e0d2ea5ff512f9de37e49 Mon Sep 17 00:00:00 2001
From: Leonid Chernin <leonidc@il.ibm.com>
Date: Tue, 10 Dec 2024 11:31:53 +0000
Subject: [PATCH] disable auto rebalance temporary

Signed-off-by: Leonid Chernin <leonidc@il.ibm.com>
---
 .github/workflows/build-container.yml | 2 +-
 ceph-nvmeof.conf                      | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/.github/workflows/build-container.yml b/.github/workflows/build-container.yml
index f40d9f8f..8810df3c 100644
--- a/.github/workflows/build-container.yml
+++ b/.github/workflows/build-container.yml
@@ -538,7 +538,7 @@ jobs:
     strategy:
       fail-fast: false
       matrix:
-        test: ["sanity", "no_huge", "ns_lb_change", "no_subsystems", "auto_load_balance", "state_transitions", "state_transitions_both_gws", "state_transitions_loop", "state_transitions_rand_loop", "late_registration", "late_registration_loop", "4gws", "4gws_loop", "4gws_create_delete", "4gws_create_delete_loop", "namespaces", "namespaces_loop", "mtls", "notify", "ceph_status", "blocklist", "main_exit"]
+        test: ["sanity", "no_huge", "ns_lb_change", "no_subsystems", "state_transitions", "state_transitions_both_gws", "state_transitions_loop", "state_transitions_rand_loop", "late_registration", "late_registration_loop", "4gws", "4gws_loop", "4gws_create_delete", "4gws_create_delete_loop", "namespaces", "namespaces_loop", "mtls", "notify", "ceph_status", "blocklist", "main_exit"]
     runs-on: ubuntu-latest
     env:
       HUGEPAGES: 1024  # 4 spdk instances
diff --git a/ceph-nvmeof.conf b/ceph-nvmeof.conf
index ea3c9c08..9b63dc52 100644
--- a/ceph-nvmeof.conf
+++ b/ceph-nvmeof.conf
@@ -17,7 +17,7 @@ state_update_notify = True
 state_update_timeout_in_msec = 2000
 state_update_interval_sec = 5
 enable_spdk_discovery_controller = False
-rebalance_period_sec = 7
+rebalance_period_sec = 0
 max_gws_in_grp = 16
 max_ns_to_change_lb_grp = 8
 #omap_file_lock_duration = 20