Details
-
Bug
-
Resolution: Fixed
-
Major
-
Lustre 2.13.0, Lustre 2.12.2
-
None
-
Any lustre client
-
3
-
9223372036854775807
Description
Neil Brown discovered during the linux lustre client work a potential read lock condition involving lli_trunc_sem. If you mmap a lustre file, then read into that mapped memory from the file they can shared the same mmap_sem which does is okay since they are down_read() calls. The read lock can happen if truncate is called in between memory mapping the file and reading into the that mapped memory from the file.
Attachments
Issue Links
- is related to
-
LU-12511 Prepare lustre for adoption into the linux kernel
- Open