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.