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

Add lock request to readahead

    XMLWordPrintable

Details

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

    Description

      Currently, readahead will not request an LDLM lock if it
      encounters a region without one. This causes it to take
      misses and can confuse the readahead state as well.

      Not requesting locks for readahead is an artifact of the
      idea that readahead is an optional optimization, but it's
      almost as important as full reads/writes from userspace,
      and we should request locks for it.

      This will help cut down misses when starting to read a new
      file, which is particularly helpful in tests, where total
      I/O is small and the extra misses make it hard to predict
      behavior.

      The benefit can be seen in the test changes - miss counts
      are reduced because stripe count no longer factors in, and
      we can reenable async readahead because it no longer fails
      due to this (leading to unpredictable numbers of misses).

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated: