Details
-
Improvement
-
Resolution: Not a Bug
-
Minor
-
None
-
None
-
None
-
9223372036854775807
Description
Currently, Lustre always takes a PW lock when working with a writable mmap. This is not great because it means if multiple nodes map the same file writably and do pure read only, they'll all get write locks.
This is pretty easy to fix - just check we are doing a mkwrite when selecting the lock mode.