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

socklnd: make link state detection namespace-aware

Details

    • 3
    • 9223372036854775807

    Description

      Socklnd subscribes to network events and if the event matches the device name, index and IP socklnd is using, it reports it to LNet so that corresponding NI availability can be toggled for the purpose of NI selection when sending.

      However it appears to be possible that the event can feature a device from a network namespace different from the one where LNet is running could have the same device name and index/IP. This can cause socklnd to report wrong status to LNet.

      Socklnd should be checking the network namespace of the device in the event against the current namespace and ignore the events from other namespaces.

      Attachments

        Activity

          [LU-18644] socklnd: make link state detection namespace-aware
          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/+/57808/
          Subject: LU-18644 socklnd: make link state detection namespace-aware
          Project: fs/lustre-release
          Branch: master
          Current Patch Set:
          Commit: b4748cb4684f5b2594d127b29f3876f07bd077ee

          gerrit Gerrit Updater added a comment - "Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/c/fs/lustre-release/+/57808/ Subject: LU-18644 socklnd: make link state detection namespace-aware Project: fs/lustre-release Branch: master Current Patch Set: Commit: b4748cb4684f5b2594d127b29f3876f07bd077ee

          "Serguei Smirnov <ssmirnov@whamcloud.com>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/57808
          Subject: LU-18644 socklnd: make link state detection namespace-aware
          Project: fs/lustre-release
          Branch: master
          Current Patch Set: 1
          Commit: 57e5217ca9cf7105a3ceb692576fd2c9615f4ba8

          gerrit Gerrit Updater added a comment - "Serguei Smirnov <ssmirnov@whamcloud.com>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/57808 Subject: LU-18644 socklnd: make link state detection namespace-aware Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: 57e5217ca9cf7105a3ceb692576fd2c9615f4ba8

          People

            ssmirnov Serguei Smirnov
            ssmirnov Serguei Smirnov
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: