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

I/O can fail with -EBADF if fresh client has no connection to OST

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • Lustre 2.14.0
    • None
    • None
    • 3
    • 9223372036854775807

    Description

      otherwise it's possible to get -EBADF:

      • client sends open|create intent before a connection to OST is established
      • MDS replies back without UPDATE bit in LDLM lock, but with the layout
        (MDS doesn't send OBD_MD_FLMODEASIZE and back
      • client's cl_default_mds_easize is still 0
      • client sends getattr intent with 0-size buffer for EA
      • MDS replies with no layout and LAYOUT bit
      • client sets local layout to EMPTY
      • all subsequent I/O fails with -EBADF
      
      

      Attachments

        Activity

          [LU-13190] I/O can fail with -EBADF if fresh client has no connection to OST
          pjones Peter Jones added a comment -

          Landed for 2.14

          pjones Peter Jones added a comment - Landed for 2.14

          Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/37400/
          Subject: LU-13190 mds: send mbo_max_mdsize in open intent reply
          Project: fs/lustre-release
          Branch: master
          Current Patch Set:
          Commit: 0a80afc58b4c64f3e7478ccfe1949ba30a28dfa3

          gerrit Gerrit Updater added a comment - Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/37400/ Subject: LU-13190 mds: send mbo_max_mdsize in open intent reply Project: fs/lustre-release Branch: master Current Patch Set: Commit: 0a80afc58b4c64f3e7478ccfe1949ba30a28dfa3

          Alex Zhuravlev (bzzz@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/37400
          Subject: LU-13190 mds: send mbo_max_mdsize in open intent reply
          Project: fs/lustre-release
          Branch: master
          Current Patch Set: 1
          Commit: 5592eb9b6b67bd602b0f1cc0c5b08b79ae45e891

          gerrit Gerrit Updater added a comment - Alex Zhuravlev (bzzz@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/37400 Subject: LU-13190 mds: send mbo_max_mdsize in open intent reply Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: 5592eb9b6b67bd602b0f1cc0c5b08b79ae45e891

          People

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

            Dates

              Created:
              Updated:
              Resolved: