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

read may return stale data from replicated file

    XMLWordPrintable

Details

    Description

      FLR doesn't hold layout lock (LL) during IO (OST_READ) operations, but verify layout at the beginning of IO and at the end of IO.
      the problem is that pages get Uptodate flag from brw_interpret context while the layout is checked for changes later. the pages are still marked uptodate till that point.
      three processes:

      • 1st modifying the file
      • 2nd initiated OST_READ and going to repeat OST_READ due to layout change
      • 3rd which finds result of OST_READ (stale data) in ll_do_fast_read()

      Attachments

        Issue Links

          Activity

            People

              bzzz Alex Zhuravlev
              bzzz Alex Zhuravlev
              Votes:
              0 Vote for this issue
              Watchers:
              10 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: