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

do not always take write lock for writable mmap

    XMLWordPrintable

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.

      Attachments

        Activity

          People

            paf0186 Patrick Farrell
            paf0186 Patrick Farrell
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: