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

Remove redundant might_sleep() in sptlrpc_gc_del_sec()

Details

    • Improvement
    • Resolution: Fixed
    • Trivial
    • Lustre 2.15.0
    • Lustre 2.14.0
    • None
    • 9223372036854775807

    Description

      sptlrpc_gc_del_sec() in lustre/ptlrpc/sec_gc.c calls mutex_lock() which calls might_sleep(), so the explicit call in this function can be removed as redundant.

      Attachments

        Activity

          [LU-14628] Remove redundant might_sleep() in sptlrpc_gc_del_sec()
          pjones Peter Jones added a comment -

          Landed for 2.15

          pjones Peter Jones added a comment - Landed for 2.15

          Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/43397/
          Subject: LU-14628 ptlrpc: remove might_sleep() in sptlrpc_gc_del_sec()
          Project: fs/lustre-release
          Branch: master
          Current Patch Set:
          Commit: c31fb42f9aa561aef8b09fd3ff400cff0166ee4d

          gerrit Gerrit Updater added a comment - Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/43397/ Subject: LU-14628 ptlrpc: remove might_sleep() in sptlrpc_gc_del_sec() Project: fs/lustre-release Branch: master Current Patch Set: Commit: c31fb42f9aa561aef8b09fd3ff400cff0166ee4d

          Nikitas Angelinas (nikitas.angelinas@hpe.com) uploaded a new patch: https://review.whamcloud.com/43397
          Subject: LU-14628 ptlrpc: remove might_sleep() in sptlrpc_gc_del_sec()
          Project: fs/lustre-release
          Branch: master
          Current Patch Set: 1
          Commit: ab1c5cb579693040a81e018c586ff9e0f0483d8c

          gerrit Gerrit Updater added a comment - Nikitas Angelinas (nikitas.angelinas@hpe.com) uploaded a new patch: https://review.whamcloud.com/43397 Subject: LU-14628 ptlrpc: remove might_sleep() in sptlrpc_gc_del_sec() Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: ab1c5cb579693040a81e018c586ff9e0f0483d8c

          People

            nangelinas Nikitas Angelinas
            nangelinas Nikitas Angelinas
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: