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

Build error in libcfs when enabling LNET_DUMP_ON_PANIC

Details

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

    Description

      If the LNET_DUMP_ON_PANIC macro is defined by enabling the --enable-panic_dumplog option at configure time, an error occurs during the libcfs build process.

      This error is due to specifying an incorrect parameter when calling the cfs_print_to_console() function within the cfs_trace_debug_print() function.

      Attachments

        Issue Links

          Activity

            [LU-18968] Build error in libcfs when enabling LNET_DUMP_ON_PANIC
            pjones Peter Jones added a comment -

            Merged for 2.17

            pjones Peter Jones added a comment - Merged for 2.17

            "Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/c/fs/lustre-release/+/59061/
            Subject: LU-18968 libcfs: fix invalid cfs_print_to_console() calls
            Project: fs/lustre-release
            Branch: master
            Current Patch Set:
            Commit: d1ea97febae9fd119fcefbaaf031c63ce306aad2

            gerrit Gerrit Updater added a comment - "Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/c/fs/lustre-release/+/59061/ Subject: LU-18968 libcfs: fix invalid cfs_print_to_console() calls Project: fs/lustre-release Branch: master Current Patch Set: Commit: d1ea97febae9fd119fcefbaaf031c63ce306aad2

            "Jihyeon Gim <potatogim@potatogim.net>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/59061
            Subject: LU-18968 libcfs: fix invalid cfs_print_to_console() calls.
            Project: fs/lustre-release
            Branch: master
            Current Patch Set: 1
            Commit: 21861659236afbb81d82d74e254b52cd3dd6caa0

            gerrit Gerrit Updater added a comment - "Jihyeon Gim <potatogim@potatogim.net>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/59061 Subject: LU-18968 libcfs: fix invalid cfs_print_to_console() calls. Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: 21861659236afbb81d82d74e254b52cd3dd6caa0
            potatogim Jihyeon Gim added a comment -

            Hello! I've written a patch to fix this, and it's on its way to Gerrit.

            potatogim Jihyeon Gim added a comment - Hello! I've written a patch to fix this, and it's on its way to Gerrit.

            People

              potatogim Jihyeon Gim
              potatogim Jihyeon Gim
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: