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

lustre group lock usage and restrictions

    XMLWordPrintable

Details

    • Question/Request
    • Resolution: Unresolved
    • Minor
    • None
    • None
    • 9223372036854775807

    Description

      Suppose one has two processes, one on each of two nodes, and each open the same file and lock it via llapi_group_lock(3) using the same group, and the two processes then attempt to read and write to non-overlapping extents.

      Since they're using group lock, I understand that neither node will be aware of the writes on the other node.  I would expect that this means that the extents that each node is "assigned" for writing need to be either page-aligned or even maybe stripe-aligned, and that not choosing extents this way would result in reads possibly returning stale data.

      Is that correct?  What is the required alignment?  Are there other requirements?

      Attachments

        Activity

          People

            paf0186 Patrick Farrell (Inactive)
            ofaaland Olaf Faaland
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated: