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

libcfs module parameter libcfs_debug_mb has no effect

Details

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

    Description

      debug_mb is libcfs module parameter. It should be possible to set it
      via

      modprobe libcfs libcfs_debug_mb=800

      or via adding

      options libcfs libcfs_debug_mb=800

      to modules configuration.

      libcfs_debug_init, however, calculated libcfs_debug_mb unconditionally, so that the module parameter makes no effect:

      int libcfs_debug_init(unsigned long bufsize)
      ...
              libcfs_debug_mb = cfs_trace_get_debug_mb();
      ...
      

      Attachments

        Issue Links

          Activity

            [LU-11898] libcfs module parameter libcfs_debug_mb has no effect
            pjones Peter Jones added a comment -

            Landed for 2.13

            pjones Peter Jones added a comment - Landed for 2.13

            Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/34128/
            Subject: LU-11898 libcfs: do not calculate debug_mb if it is set
            Project: fs/lustre-release
            Branch: master
            Current Patch Set:
            Commit: adeb29400a4a6466e45cb8c793500ae6d37ed642

            gerrit Gerrit Updater added a comment - Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/34128/ Subject: LU-11898 libcfs: do not calculate debug_mb if it is set Project: fs/lustre-release Branch: master Current Patch Set: Commit: adeb29400a4a6466e45cb8c793500ae6d37ed642

            Are you seeing the module value modified or completely ignored. In my testing I see a modified value of debug_mb.

            simmonsja James A Simmons added a comment - Are you seeing the module value modified or completely ignored. In my testing I see a modified value of debug_mb.

            Vladimir Saveliev (c17830@cray.com) uploaded a new patch: https://review.whamcloud.com/34128
            Subject: LU-11898 libcfs: do not calculate debug_mb if it is set
            Project: fs/lustre-release
            Branch: master
            Current Patch Set: 1
            Commit: e657421403664919848b0c72eb50edbe4bd7a62c

            gerrit Gerrit Updater added a comment - Vladimir Saveliev (c17830@cray.com) uploaded a new patch: https://review.whamcloud.com/34128 Subject: LU-11898 libcfs: do not calculate debug_mb if it is set Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: e657421403664919848b0c72eb50edbe4bd7a62c

            People

              vsaveliev Vladimir Saveliev
              vsaveliev Vladimir Saveliev
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: