NodeStats is updated and log message generated for every diskinfo message.
Optimization by storing the length of NodeStats in a variable.
Combined underused_nodes and overused_nodes into one function.