Details

    • Bug
    • Resolution: Cannot Reproduce
    • Major
    • None
    • Lustre 2.13.0
    • None
    • 3
    • 18,015
    • 9223372036854775807

    Description

      I finally traced my debug kernel problems with later rhel releases to RCU breakage of some sort.

      ldlm_locks slab is declared as SLAB_DESTROY_BY_RCU if it's defined This is going back to bugzilla 18015 https://bugzilla.lustre.org/show_bug.cgi?id=18015 patch by BobiJam.

      Now it appears that as we schedule a free in that slab and then destroy the slab, the actual free is delayed and is executed after the slab is already freed despite rcu_barrier() being present.

      Clear bug that I will file rh bugzilla ticket for.

      But in addition to that I wonder how much do we need that thing nowadays, esp. considering that newer kernels renamed the flag to SLAB_TYPESAFE_BY_RCU that we do not detect and just not set it in that case.

      Should we just convert ldlm_locks into a normal slab again I wonder?

      Attachments

        Issue Links

          Activity

            [LU-11063] RHEL7.[345] RCU breakage
            simmonsja James A Simmons made changes -
            Link New: This issue is related to LU-17097 [ LU-17097 ]
            adilger Andreas Dilger made changes -
            Resolution New: Cannot Reproduce [ 5 ]
            Status Original: Open [ 1 ] New: Resolved [ 5 ]
            pjones Peter Jones made changes -
            Link New: This issue is related to DDN-3176 [ DDN-3176 ]
            cwhite_wc Cliff White (Inactive) made changes -
            Remote Link Original: This issue links to "Page (Whamcloud Community Wiki)" [ 27396 ]
            mdiep Minh Diep made changes -
            Remote Link New: This issue links to "Page (Whamcloud Community Wiki)" [ 27396 ]
            mdiep Minh Diep made changes -
            Remote Link Original: This issue links to "Page (Whamcloud Community Wiki)" [ 27336 ]
            mdiep Minh Diep made changes -
            Remote Link New: This issue links to "Page (Whamcloud Community Wiki)" [ 27336 ]
            sarah Sarah Liu made changes -
            Remote Link New: This issue links to "Page (Whamcloud Community Wiki)" [ 27167 ]
            jamesanunez James Nunez (Inactive) made changes -
            Remote Link New: This issue links to "Page (Whamcloud Community Wiki)" [ 26884 ]
            jamesanunez James Nunez (Inactive) made changes -
            Remote Link New: This issue links to "Page (Whamcloud Community Wiki)" [ 26873 ]

            People

              wc-triage WC Triage
              green Oleg Drokin
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: