Uploaded image for project: 'Lustre'
  1. Lustre
  2. LU-13255

Abstract code for wait-with-periodic-warning

    XMLWordPrintable

Details

    • Task
    • Resolution: Fixed
    • Minor
    • Lustre 2.14.0
    • 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()

      Attachments

        Activity

          People

            neilb Neil Brown
            neilb Neil Brown
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: