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

update changelog_ext_nid to handle IPv6 addresses

Details

    • 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

            [LU-13308] update changelog_ext_nid to handle IPv6 addresses

            "Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/c/fs/lustre-release/+/54982/
            Subject: LU-13308 mdc: support additional flags for OBD_IOC_CHLG_POLL ioctl
            Project: fs/lustre-release
            Branch: b2_15
            Current Patch Set:
            Commit: 487e1c79e4c6570d91740f23106cc3ddfaa20236

            gerrit Gerrit Updater added a comment - "Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/c/fs/lustre-release/+/54982/ Subject: LU-13308 mdc: support additional flags for OBD_IOC_CHLG_POLL ioctl Project: fs/lustre-release Branch: b2_15 Current Patch Set: Commit: 487e1c79e4c6570d91740f23106cc3ddfaa20236
            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/+/50099/
            Subject: LU-13308 mdd: add LLOG_F_EXT_X_NID_BE
            Project: fs/lustre-release
            Branch: master
            Current Patch Set:
            Commit: ad5d6d47dcfcdad720ec3e73cd5be2d5afe83cb1

            gerrit Gerrit Updater added a comment - "Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/c/fs/lustre-release/+/50099/ Subject: LU-13308 mdd: add LLOG_F_EXT_X_NID_BE Project: fs/lustre-release Branch: master Current Patch Set: Commit: ad5d6d47dcfcdad720ec3e73cd5be2d5afe83cb1

            "James Simmons <jsimmons@infradead.org>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/54982
            Subject: LU-13308 mdc: support additional flags for OBD_IOC_CHLG_POLL ioctl
            Project: fs/lustre-release
            Branch: b2_15
            Current Patch Set: 1
            Commit: 239dddfb066e0e66d4e905f461498a8b84613a3a

            gerrit Gerrit Updater added a comment - "James Simmons <jsimmons@infradead.org>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/54982 Subject: LU-13308 mdc: support additional flags for OBD_IOC_CHLG_POLL ioctl Project: fs/lustre-release Branch: b2_15 Current Patch Set: 1 Commit: 239dddfb066e0e66d4e905f461498a8b84613a3a

            "Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/c/fs/lustre-release/+/52361/
            Subject: LU-13308 mdc: support additional flags for OBD_IOC_CHLG_POLL ioctl
            Project: fs/lustre-release
            Branch: master
            Current Patch Set:
            Commit: 8320394725180b76e76f36b8a513f3c7bf11e65c

            gerrit Gerrit Updater added a comment - "Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/c/fs/lustre-release/+/52361/ Subject: LU-13308 mdc: support additional flags for OBD_IOC_CHLG_POLL ioctl Project: fs/lustre-release Branch: master Current Patch Set: Commit: 8320394725180b76e76f36b8a513f3c7bf11e65c

            I tracked down the reason for the test failiures. The function mdd_create() has it clf_flags ALWAYS set to zero so CLFE_NID_BE is never set. Maybe spec->sp_cr_flags might have the proper flags. If not does anyone know a way to extract the open flags we find for mdd_objects?

            simmonsja James A Simmons added a comment - I tracked down the reason for the test failiures. The function mdd_create() has it clf_flags ALWAYS set to zero so CLFE_NID_BE is never set. Maybe spec->sp_cr_flags might have the proper flags. If not does anyone know a way to extract the open flags we find for mdd_objects?

            "James Simmons <jsimmons@infradead.org>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/52361
            Subject: LU-13308 mdc: support additional flags for OBD_IOC_CHLG_POLL ioctl
            Project: fs/lustre-release
            Branch: master
            Current Patch Set: 1
            Commit: b36c914431d357061a41edc105a02962db859a9e

            gerrit Gerrit Updater added a comment - "James Simmons <jsimmons@infradead.org>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/52361 Subject: LU-13308 mdc: support additional flags for OBD_IOC_CHLG_POLL ioctl Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: b36c914431d357061a41edc105a02962db859a9e
            simmonsja James A Simmons added a comment - https://review.whamcloud.com/#/c/fs/lustre-release/+/50099

            People

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

              Dates

                Created:
                Updated:
                Resolved: