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

use standard linux wait_event macros

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major Major
    • Lustre 2.14.0
    • None
    • None
    • 9223372036854775807

      Simplify l_wait_info() using the linux wait_event infrastructure.

      Improvements are:

         - new wait_event_idle* macros are now in include/linux/wait.h which

           Ack from peterz.

         - all waits are now TASK_IDLE or TASK_INTERRUPTIBLE and so don't

           affect the load average.  There is no need to choose whether load

           is appropriate or not in each case.

         - all l_wait_event() users are handled so l_wait_event() is

           removed.  The one case I had left out before uses

           wait_event_idle_exclusive() with and option of using

           wait_event_idle_exclusive_lifo() is that ever gets approved.

            simmonsja James A Simmons
            simmonsja James A Simmons
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: