-
Notifications
You must be signed in to change notification settings - Fork 46
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
New rebalance #909
base: devel
Are you sure you want to change the base?
New rebalance #909
Conversation
ccc24da
to
45aa326
Compare
d13bc55
to
d3c2bc5
Compare
543a9ba
to
91b5b35
Compare
@@ -48,6 +48,8 @@ | |||
CNTLID_RANGE_SIZE = 2040 | |||
DEFAULT_MODEL_NUMBER = "Ceph bdev Controller" | |||
|
|||
MAX_POSSIBLE_ANA_GRPS = 100 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@leonidc Please remove MAX_POSSIBLE_ANA_GRPS
arbitrary constant. Let me know if you need any assistance with this.
@leonidc great work! could you please extract the new rebalance task into a separate class and file, To ensure thread safety:
|
27d0041
to
e5577cb
Compare
Signed-off-by: Leonid Chernin <[email protected]>
merged with last devel branch
works for 3 GWs and 3 subsystem. Just 1 GW in time performs rebalance added test for github, merged again, accelerate rebalance when several ANA are in Optimized state on some GW. added protection for shared data. Signed-off-by: Leonid Chernin <[email protected]>
…ema based on rpc-lock Signed-off-by: Leonid Chernin <[email protected]>
e5577cb
to
efcbc54
Compare
Signed-off-by: Leonid Chernin <[email protected]>
4d5ba82
to
313c07a
Compare
Auto rebalance is done from the separate thread