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

Replace the long path of getting s_volume_name with sb->s_id in the debug message

Details

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

    Description

      In the OSD debug message, we originally use the code similar as "LDISKFS_SB(osd_sb(osd))>s_es>s_volume_name" to get the system name information. That is inefficient, it can be replaced by the "(osd_sb(osd)->s_id".

      Attachments

        Activity

          [LU-9440] Replace the long path of getting s_volume_name with sb->s_id in the debug message
          pjones Peter Jones added a comment -

          Landed for 2.10

          pjones Peter Jones added a comment - Landed for 2.10

          Oleg Drokin (oleg.drokin@intel.com) merged in patch https://review.whamcloud.com/27177/
          Subject: LU-9440 osd-ldiskfs: efficient way to get ldiskfs backend name
          Project: fs/lustre-release
          Branch: master
          Current Patch Set:
          Commit: 2272a301f5e365c0ca02b5c939934c1051d910d3

          gerrit Gerrit Updater added a comment - Oleg Drokin (oleg.drokin@intel.com) merged in patch https://review.whamcloud.com/27177/ Subject: LU-9440 osd-ldiskfs: efficient way to get ldiskfs backend name Project: fs/lustre-release Branch: master Current Patch Set: Commit: 2272a301f5e365c0ca02b5c939934c1051d910d3

          Fan Yong (fan.yong@intel.com) uploaded a new patch: https://review.whamcloud.com/27177
          Subject: LU-9440 osd-ldiskfs: efficient way to get ldiskfs backend name
          Project: fs/lustre-release
          Branch: master
          Current Patch Set: 1
          Commit: fb0288525fa2bf845e830919e498e14728f8d052

          gerrit Gerrit Updater added a comment - Fan Yong (fan.yong@intel.com) uploaded a new patch: https://review.whamcloud.com/27177 Subject: LU-9440 osd-ldiskfs: efficient way to get ldiskfs backend name Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: fb0288525fa2bf845e830919e498e14728f8d052

          People

            yong.fan nasf (Inactive)
            yong.fan nasf (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: