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

Bad ouput with "lnetctl net show" for lnd tunables with several nets

Details

    • Bug
    • Resolution: Fixed
    • Major
    • Lustre 2.16.0
    • None
    • None
    • 3
    • 9223372036854775807

    Description

      Export:

      $ lnetctl export --backup
      net:
      -     net type: tcp1
            local NI(s):
            -     interfaces:
                        0: eth1
                  tunables:
                        peer_timeout: 180
                        peer_credits: 8
                        peer_buffer_credits: 0
                        credits: 256
                  lnd tunables:
                        conns_per_peer: 1
                        timeout: 49
                        tos: -1
                  CPT: "[0,1,2,3,4]"
      -     net type: tcp2
            local NI(s):
            -     interfaces:
                        0: eth2
                  tunables:
                        peer_timeout: 180
                        peer_credits: 8
                        peer_buffer_credits: 0
                        credits: 256
                  CPT: "[0,1,2,3,4]"
      

      lnd tunables is missing for tcp2. When tcp1 is removed, right values are shown for tcp2.

      Attachments

        Issue Links

          Activity

            [LU-18063] Bad ouput with "lnetctl net show" for lnd tunables with several nets
            pjones Peter Jones added a comment -

            Merged for 2.16

            pjones Peter Jones added a comment - Merged for 2.16

            "Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/c/fs/lustre-release/+/55975/
            Subject: LU-18063 lnet: restore LNet NI dropped information
            Project: fs/lustre-release
            Branch: master
            Current Patch Set:
            Commit: 3c02fc1d4c5113169b68fadc3ecc3386fb1634c4

            gerrit Gerrit Updater added a comment - "Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/c/fs/lustre-release/+/55975/ Subject: LU-18063 lnet: restore LNet NI dropped information Project: fs/lustre-release Branch: master Current Patch Set: Commit: 3c02fc1d4c5113169b68fadc3ecc3386fb1634c4

            "James Simmons <jsimmons@infradead.org>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/55975
            Subject: LU-18063 lnet: restore LNet NI dropped information
            Project: fs/lustre-release
            Branch: master
            Current Patch Set: 1
            Commit: 2839ebebf810ba6023752dcadbcd7f147029d9fc

            gerrit Gerrit Updater added a comment - "James Simmons <jsimmons@infradead.org>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/55975 Subject: LU-18063 lnet: restore LNet NI dropped information Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: 2839ebebf810ba6023752dcadbcd7f147029d9fc

            Solved it. Just need to add a test case.

            simmonsja James A Simmons added a comment - Solved it. Just need to add a test case.

             I have started work on this.

            simmonsja James A Simmons added a comment -  I have started work on this.

            People

              simmonsja James A Simmons
              cbordage Cyril Bordage
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: