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

update changelog_ext_nid to handle IPv6 addresses

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Minor
    • Lustre 2.16.0
    • None
    • 9223372036854775807

    Description

      In struct changelog_ext_nid there is the possibility of using a larger lnet_nidv6_t to store IPv6 NIDs. This needs to be implemented in print_changelog_rec(), lfs_changelog() to understand the larger NIDs. It seems possible to just store the larger NID therein, and check whether extra and padding are zero to distinguish between IPv4 and IPv6 addresses. It would probably make sense to use the first two __u64 for the IPv6 address, and padding for the lnet network type/number.

      struct changelog_ext_nid {
              /* have __u64 instead of lnet_nid_t type for use by client api */
              __u64 cr_nid;
              /* for use when IPv6 support is added */
              __u64 extra;    
              __u32 padding;  
      };
      

      Attachments

        Issue Links

          Activity

            People

              neilb Neil Brown
              adilger Andreas Dilger
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: