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

Do not use osd_object_find in osd_index_ea_insert

Details

    • Bug
    • Resolution: Fixed
    • Major
    • Lustre 2.8.0
    • Lustre 2.8.0
    • None
    • 3
    • 9223372036854775807

    Description

      Do not use osd_object_find in osd_index_ea_insert() to avoid that notorious object find hung.

      Attachments

        Issue Links

          Activity

            [LU-7053] Do not use osd_object_find in osd_index_ea_insert
            pjones Peter Jones added a comment -

            Landed for 2.8

            pjones Peter Jones added a comment - Landed for 2.8

            Oleg Drokin (oleg.drokin@intel.com) merged in patch http://review.whamcloud.com/17092/
            Subject: LU-7053 osd: don't lookup object at insert
            Project: fs/lustre-release
            Branch: master
            Current Patch Set:
            Commit: 9ae3a2891f10a19acf855a90337316dda704da5d

            gerrit Gerrit Updater added a comment - Oleg Drokin (oleg.drokin@intel.com) merged in patch http://review.whamcloud.com/17092/ Subject: LU-7053 osd: don't lookup object at insert Project: fs/lustre-release Branch: master Current Patch Set: Commit: 9ae3a2891f10a19acf855a90337316dda704da5d

            Alex Zhuravlev (alexey.zhuravlev@intel.com) uploaded a new patch: http://review.whamcloud.com/17092
            Subject: LU-7053 osd: don't lookup object at insert
            Project: fs/lustre-release
            Branch: master
            Current Patch Set: 1
            Commit: 34572a3239fc4a815f520b6849709a2bb31ca677

            gerrit Gerrit Updater added a comment - Alex Zhuravlev (alexey.zhuravlev@intel.com) uploaded a new patch: http://review.whamcloud.com/17092 Subject: LU-7053 osd: don't lookup object at insert Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: 34572a3239fc4a815f520b6849709a2bb31ca677

            well, still the question: who is destroying the object being referenced by a new direntry ?

            bzzz Alex Zhuravlev added a comment - well, still the question: who is destroying the object being referenced by a new direntry ?
            di.wang Di Wang added a comment -

            Hmm, this is different issue, do I miss sth?

            di.wang Di Wang added a comment - Hmm, this is different issue, do I miss sth?
            bzzz Alex Zhuravlev added a comment - would http://review.whamcloud.com/#/c/15924/ help ?
            di.wang Di Wang added a comment -

            I found this problem during racer + migration, and it might cause deadlock if we use os_object_find in osd_index_ea_insert(), because of double object find in one service handler().

            di.wang Di Wang added a comment - I found this problem during racer + migration, and it might cause deadlock if we use os_object_find in osd_index_ea_insert(), because of double object find in one service handler().

            People

              di.wang Di Wang
              di.wang Di Wang
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: