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

migrate struct import bit fields to bitmap

Details

    • Improvement
    • Resolution: Unresolved
    • Minor
    • None
    • Lustre 2.17.0
    • None
    • The ptlrpc layer.
    • 3
    • 9223372036854775807

    Description

      In many places in the ptlrpc layer we are taking a spin lock to read a single bit. We can remove the need for these spin_locks by using bitmap with the various atomic bitops the kernel provides. This avoids potential might_sleep issues since often the ptlrpc code is run in an atomic context.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated: