Commit c1ebfac1 authored by Felix Seibert's avatar Felix Seibert
Browse files

enhace debug output for rebalancing

parent a488b8c0
......@@ -230,6 +230,11 @@ class OSDManager(object):
rebalance_time = round(time.time() - start_time)
print("rebalanced assignment in secs: " + str(rebalance_time))
print("movements:")
print(str(movements))
print("rebalanced osd manager: \n" + str(self))
start_time = time.time()
if fix_layout_internally:
......@@ -260,6 +265,8 @@ class OSDManager(object):
else:
self.fix_physical_layout_externally()
self.__write_configuration()
if self.debug:
total_time = round(time.time() - start_time)
print("fixed physical layout of existing files in secs: " + str(total_time))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment