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 ]

            Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/38405/
            Subject: LU-10467 ptlrpc: change LONG_UNLINK to PTLRPC_REQ_LONG_UNLINK
            Project: fs/lustre-release
            Branch: master
            Current Patch Set:
            Commit: 7c549da4014a7c7f7f662876115db16f4b05d74c

            gerrit Gerrit Updater added a comment - Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/38405/ Subject: LU-10467 ptlrpc: change LONG_UNLINK to PTLRPC_REQ_LONG_UNLINK Project: fs/lustre-release Branch: master Current Patch Set: Commit: 7c549da4014a7c7f7f662876115db16f4b05d74c

            Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/38403/
            Subject: LU-10467 llite: clean up pcc_layout_wait()
            Project: fs/lustre-release
            Branch: master
            Current Patch Set:
            Commit: c5a311781fc60c9a91483b737d3f59096949439e

            gerrit Gerrit Updater added a comment - Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/38403/ Subject: LU-10467 llite: clean up pcc_layout_wait() Project: fs/lustre-release Branch: master Current Patch Set: Commit: c5a311781fc60c9a91483b737d3f59096949439e

            Neil Brown (neilb@suse.de) uploaded a new patch: https://review.whamcloud.com/38405
            Subject: LU-10467 ptlrpc: change LONG_UNLINK to PTLRPC_LONG_REQ_UNLINK
            Project: fs/lustre-release
            Branch: master
            Current Patch Set: 1
            Commit: 397675ad40fbfdea1dbd7e4667e38b3358501a24

            gerrit Gerrit Updater added a comment - Neil Brown (neilb@suse.de) uploaded a new patch: https://review.whamcloud.com/38405 Subject: LU-10467 ptlrpc: change LONG_UNLINK to PTLRPC_LONG_REQ_UNLINK Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: 397675ad40fbfdea1dbd7e4667e38b3358501a24

            Neil Brown (neilb@suse.de) uploaded a new patch: https://review.whamcloud.com/38403
            Subject: LU-10467 llite: clean up pcc_layout_wait()
            Project: fs/lustre-release
            Branch: master
            Current Patch Set: 1
            Commit: 24412377207fa449847bf193707fc74c2de9e42c

            gerrit Gerrit Updater added a comment - Neil Brown (neilb@suse.de) uploaded a new patch: https://review.whamcloud.com/38403 Subject: LU-10467 llite: clean up pcc_layout_wait() Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: 24412377207fa449847bf193707fc74c2de9e42c
            pjones Peter Jones made changes -
            Resolution New: Fixed [ 1 ]
            Status Original: Reopened [ 4 ] New: Resolved [ 5 ]
            pjones Peter Jones added a comment -

            Amazing! Congrats

            pjones Peter Jones added a comment - Amazing! Congrats
            pjones Peter Jones made changes -
            Fix Version/s New: Lustre 2.14.0 [ 14490 ]

            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: