Details

    • Bug
    • Resolution: Fixed
    • Minor
    • Lustre 2.9.0
    • None
    • 3
    • 13953

    Description

      In tracking down the root cause of LU-5043, I went through the cpu partitioning code in Lustre and found some of it rather difficult to follow. A number of not-necessarily-safe assumptions seem to made, with no code comments explaining what was assumed and why. I think we have some technical debt to deal with here.

      Attachments

        Issue Links

          Activity

            [LU-5050] cpu partitioning oddities
            pjones Peter Jones added a comment -

            Landed for 2.9

            pjones Peter Jones added a comment - Landed for 2.9

            Oleg Drokin (oleg.drokin@intel.com) merged in patch http://review.whamcloud.com/22377/
            Subject: LU-5050 libcfs: default CPT matches NUMA topology
            Project: fs/lustre-release
            Branch: master
            Current Patch Set:
            Commit: 4fb513d0a635ce749ddb2173e9841814622ba4a2

            gerrit Gerrit Updater added a comment - Oleg Drokin (oleg.drokin@intel.com) merged in patch http://review.whamcloud.com/22377/ Subject: LU-5050 libcfs: default CPT matches NUMA topology Project: fs/lustre-release Branch: master Current Patch Set: Commit: 4fb513d0a635ce749ddb2173e9841814622ba4a2

            Andreas Dilger (andreas.dilger@intel.com) uploaded a new patch: http://review.whamcloud.com/22507
            Subject: LU-5050 libcfs: default CPT matches NUMA topology
            Project: fs/lustre-release
            Branch: master
            Current Patch Set: 1
            Commit: cf67b83eb74bc84e90d0a02ea306405a0fc76b43

            gerrit Gerrit Updater added a comment - Andreas Dilger (andreas.dilger@intel.com) uploaded a new patch: http://review.whamcloud.com/22507 Subject: LU-5050 libcfs: default CPT matches NUMA topology Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: cf67b83eb74bc84e90d0a02ea306405a0fc76b43

            Dmitry Eremin (dmitry.eremin@intel.com) uploaded a new patch: http://review.whamcloud.com/22377
            Subject: LU-5050 libcfs: default CPT matches NUMA topology
            Project: fs/lustre-release
            Branch: master
            Current Patch Set: 1
            Commit: 1916e280b1f0ac579d17a6cb9134923f1481176c

            gerrit Gerrit Updater added a comment - Dmitry Eremin (dmitry.eremin@intel.com) uploaded a new patch: http://review.whamcloud.com/22377 Subject: LU-5050 libcfs: default CPT matches NUMA topology Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: 1916e280b1f0ac579d17a6cb9134923f1481176c

            Dmitry, could you please work on an updated version of the http://review.whamcloud.com/17824 patch. We'd like to get it included into 2.9.0.

            adilger Andreas Dilger added a comment - Dmitry, could you please work on an updated version of the http://review.whamcloud.com/17824 patch. We'd like to get it included into 2.9.0.
            simmonsja James A Simmons added a comment - - edited

            That is one old bug. I have a question. How did it ever pass testing on RHEL7 in the first place?

            simmonsja James A Simmons added a comment - - edited That is one old bug. I have a question. How did it ever pass testing on RHEL7 in the first place?

            Quick guess as to the cause is that cfs_trimwhite() modifies the input string, while the string literal "N" was stored in read-only memory. The easiest solution is likely for cfs_cpt_table_create_pattern() to make a copy of the pattern string.

            olaf Olaf Weber (Inactive) added a comment - Quick guess as to the cause is that cfs_trimwhite() modifies the input string, while the string literal "N" was stored in read-only memory. The easiest solution is likely for cfs_cpt_table_create_pattern() to make a copy of the pattern string.

            People

              dmiter Dmitry Eremin (Inactive)
              morrone Christopher Morrone (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              18 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: