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

use standard linux wait_event macros

Details

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

    Description

      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.

      Attachments

        Issue Links

          Activity

            [LU-10467] use standard linux wait_event macros
            adilger Andreas Dilger made changes -
            Link New: This issue is related to LU-10824 [ LU-10824 ]
            adilger Andreas Dilger made changes -
            Link New: This issue is related to LU-1882 [ LU-1882 ]
            adilger Andreas Dilger made changes -
            Link New: This issue is related to LU-8841 [ LU-8841 ]
            pjones Peter Jones made changes -
            Resolution New: Fixed [ 1 ]
            Status Original: Reopened [ 4 ] New: Resolved [ 5 ]
            pjones Peter Jones made changes -
            Fix Version/s New: Lustre 2.14.0 [ 14490 ]
            simmonsja James A Simmons made changes -
            Link Original: This issue is related to LU-9679 [ LU-9679 ]
            simmonsja James A Simmons made changes -
            Link New: This issue is related to LU-12511 [ LU-12511 ]
            simmonsja James A Simmons made changes -
            Fix Version/s Original: Lustre 2.13.0 [ 14290 ]
            simmonsja James A Simmons made changes -
            Link New: This issue is related to LU-12436 [ LU-12436 ]
            simmonsja James A Simmons made changes -
            Link New: This issue is related to LU-12362 [ LU-12362 ]

            People

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

              Dates

                Created:
                Updated:
                Resolved: