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

Single use LDLM locks for lockahed

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Unresolved
    • Minor
    • None
    • None
    • None
    • 9223372036854775807

    Description

      Today, all LDLM locks created by lockahead are cached after use.  In many situations, this is not desirable - The application or library using them only expects to use them once.

      The main negative side effect of this caching is that the locks pile up, and then may all need to be flushed rapidly, such as when a file is deleted, or if data is ready from a different node where it was written.  This can induce significant delays.

      It would be much better to create the option of locks which remain in cache until used once, then do not return to cache.  This can be done fairly easily with a new LDLM flag, accessible via the flags on ladvise requests.

      Attachments

        Activity

          People

            paf0186 Patrick Farrell (Inactive)
            paf0186 Patrick Farrell (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: