Details
-
Task
-
Resolution: Fixed
-
Minor
-
None
-
None
-
9223372036854775807
Description
Lustre has a recurring pattern of waiting for an event and issuing a warning every second while the event hasn't happened. The warning is often set to a higher priority with an exponentially decreasing rate - so after 1,2,4,8,16 seconds etc it is a warning rather than an informational message.
It would improve code readability and maintainability to encapsulate this pattern in a macro: wait_var_event_warning()