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

switch LNET_* static function names to lower case

Details

    • Bug
    • Resolution: Won't Fix
    • Minor
    • None
    • Lustre 2.8.0
    • 3
    • 9223372036854775807

    Description

      Replace the upper-case names with lower-case names for the following static inline functions from LNet:
      LNET_NIDADDR
      LNET_NIDNET
      LNET_MKNID
      LNET_NETNUM
      LNET_NETTYP
      LNET_MKNET

      Attachments

        Activity

          [LU-8095] switch LNET_* static function names to lower case

          Hi,

          I am proposing this patch following Andreas' comment:
          http://review.whamcloud.com/#/c/19792/2/lustre/ldlm/ldlm_lib.c@469

          sbuisson Sebastien Buisson (Inactive) added a comment - Hi, I am proposing this patch following Andreas' comment: http://review.whamcloud.com/#/c/19792/2/lustre/ldlm/ldlm_lib.c@469

          I know they frown on camel case which we also have exported in our LNet layer. It is the same problem in that if we remove the camel case naming of the LNet functions then we break external modules. As for all capital name functions I don't know if they are so strict. I never seen checkpatch complain about this.

          simmonsja James A Simmons added a comment - I know they frown on camel case which we also have exported in our LNet layer. It is the same problem in that if we remove the camel case naming of the LNet functions then we break external modules. As for all capital name functions I don't know if they are so strict. I never seen checkpatch complain about this.

          Is this being done in response to a kernel coding guideline?

          doug Doug Oucharek (Inactive) added a comment - Is this being done in response to a kernel coding guideline?

          This change makes me nervous. These functions are exposed to external software stacks (Cray's DVS for example) so this change would break them very badly.

          simmonsja James A Simmons added a comment - This change makes me nervous. These functions are exposed to external software stacks (Cray's DVS for example) so this change would break them very badly.

          Hi Doug,
          Can you please have a look at the patch?
          Thanks.
          Joe

          jgmitter Joseph Gmitter (Inactive) added a comment - Hi Doug, Can you please have a look at the patch? Thanks. Joe

          Sebastien Buisson (sbuisson@ddn.com) uploaded a new patch: http://review.whamcloud.com/19964
          Subject: LU-8095 lnet: switch LNET_* static functions to lower case
          Project: fs/lustre-release
          Branch: master
          Current Patch Set: 1
          Commit: 02ef17b50e0c99795cad88cfb1f8cd18cfd065a1

          gerrit Gerrit Updater added a comment - Sebastien Buisson (sbuisson@ddn.com) uploaded a new patch: http://review.whamcloud.com/19964 Subject: LU-8095 lnet: switch LNET_* static functions to lower case Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: 02ef17b50e0c99795cad88cfb1f8cd18cfd065a1

          People

            ashehata Amir Shehata (Inactive)
            sbuisson Sebastien Buisson (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: