Details
-
Improvement
-
Resolution: Fixed
-
Minor
-
None
-
None
-
3
-
9223372036854775807
Description
Checking reclaim full for every lock request is expensive - it require taking a global spinlock and takes up 10% of MDS CPU time under load, but is not necessary to do this check for every single lock request - it is OK if we very slightly exceed the reclaim limit. Instead, check it once for every 100 requests. 100 is chosen arbitrarily but should be sufficient for good performance.
Merged for 2.16