Details

    • Technical task
    • Resolution: Fixed
    • Minor
    • Lustre 2.7.0
    • Lustre 2.4.0
    • None

    Description

      Tracking for minor cleanups suggested by sparse checker.

      Attachments

        Issue Links

          Activity

            [LU-2675] clang: code cleanups for sparse static analyzer

            Oleg Drokin (oleg.drokin@intel.com) merged in patch http://review.whamcloud.com/12932/
            Subject: LU-2675 lnet: remove lnet/include/lnet/linux/
            Project: fs/lustre-release
            Branch: master
            Current Patch Set:
            Commit: aab1d832130ee5c181cf7e0e5aa555244d150b00

            gerrit Gerrit Updater added a comment - Oleg Drokin (oleg.drokin@intel.com) merged in patch http://review.whamcloud.com/12932/ Subject: LU-2675 lnet: remove lnet/include/lnet/linux/ Project: fs/lustre-release Branch: master Current Patch Set: Commit: aab1d832130ee5c181cf7e0e5aa555244d150b00

            Oleg Drokin (oleg.drokin@intel.com) merged in patch http://review.whamcloud.com/12850/
            Subject: LU-2675 llite: remove some cl wrappers
            Project: fs/lustre-release
            Branch: master
            Current Patch Set:
            Commit: 1224f40d2e5be236b76b4013e4d926b77a56a3da

            gerrit Gerrit Updater added a comment - Oleg Drokin (oleg.drokin@intel.com) merged in patch http://review.whamcloud.com/12850/ Subject: LU-2675 llite: remove some cl wrappers Project: fs/lustre-release Branch: master Current Patch Set: Commit: 1224f40d2e5be236b76b4013e4d926b77a56a3da

            John L. Hammond (john.hammond@intel.com) uploaded a new patch: http://review.whamcloud.com/13123
            Subject: LU-2675 obd: remove linux/obd.h
            Project: fs/lustre-release
            Branch: master
            Current Patch Set: 1
            Commit: cac5222019f65561c3b9d1eb10e7e403faba3b32

            gerrit Gerrit Updater added a comment - John L. Hammond (john.hammond@intel.com) uploaded a new patch: http://review.whamcloud.com/13123 Subject: LU-2675 obd: remove linux/obd.h Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: cac5222019f65561c3b9d1eb10e7e403faba3b32

            John L. Hammond (john.hammond@intel.com) uploaded a new patch: http://review.whamcloud.com/13121
            Subject: LU-2675 lnet: assume a kernel build
            Project: fs/lustre-release
            Branch: master
            Current Patch Set: 1
            Commit: 2b19d2d27cd6cbe5e791de40505ad55d0dc0d37a

            gerrit Gerrit Updater added a comment - John L. Hammond (john.hammond@intel.com) uploaded a new patch: http://review.whamcloud.com/13121 Subject: LU-2675 lnet: assume a kernel build Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: 2b19d2d27cd6cbe5e791de40505ad55d0dc0d37a

            Oleg Drokin (oleg.drokin@intel.com) merged in patch http://review.whamcloud.com/12893/
            Subject: LU-2675 mdc: remove mdc_sendpage()
            Project: fs/lustre-release
            Branch: master
            Current Patch Set:
            Commit: 017c04a20bb9adc42faf0c6b8226e5109008ee80

            gerrit Gerrit Updater added a comment - Oleg Drokin (oleg.drokin@intel.com) merged in patch http://review.whamcloud.com/12893/ Subject: LU-2675 mdc: remove mdc_sendpage() Project: fs/lustre-release Branch: master Current Patch Set: Commit: 017c04a20bb9adc42faf0c6b8226e5109008ee80

            Oleg Drokin (oleg.drokin@intel.com) merged in patch http://review.whamcloud.com/12851/
            Subject: LU-2675 llapi: find_param cleanup part II
            Project: fs/lustre-release
            Branch: master
            Current Patch Set:
            Commit: 530763d717189fd57c48b352ba4d13a751a2ba64

            gerrit Gerrit Updater added a comment - Oleg Drokin (oleg.drokin@intel.com) merged in patch http://review.whamcloud.com/12851/ Subject: LU-2675 llapi: find_param cleanup part II Project: fs/lustre-release Branch: master Current Patch Set: Commit: 530763d717189fd57c48b352ba4d13a751a2ba64

            Also, many Doxygen comments over lnet APIs (those whose names begin with LNet) include stuff that only applies to user space. Those can be removed as well.

            isaac Isaac Huang (Inactive) added a comment - Also, many Doxygen comments over lnet APIs (those whose names begin with LNet) include stuff that only applies to user space. Those can be removed as well.

            As part of this change we should ensure that we remove the_lnet.ln_eq_waitni and associated logic, since this is not used at all for the LNet Kernel code.

            ashehata Amir Shehata (Inactive) added a comment - As part of this change we should ensure that we remove the_lnet.ln_eq_waitni and associated logic, since this is not used at all for the LNet Kernel code.

            Patch landed to Master.
            Please open a new specific ticket if there is any additional work needed.

            jlevi Jodi Levi (Inactive) added a comment - Patch landed to Master. Please open a new specific ticket if there is any additional work needed.

            Oleg Drokin (oleg.drokin@intel.com) merged in patch http://review.whamcloud.com/12849/
            Subject: LU-2675 llite: remove lli_lvb
            Project: fs/lustre-release
            Branch: master
            Current Patch Set:
            Commit: 0c6776db8cce84fd623c76a18df93759f2fcaed4

            gerrit Gerrit Updater added a comment - Oleg Drokin (oleg.drokin@intel.com) merged in patch http://review.whamcloud.com/12849/ Subject: LU-2675 llite: remove lli_lvb Project: fs/lustre-release Branch: master Current Patch Set: Commit: 0c6776db8cce84fd623c76a18df93759f2fcaed4
            jhammond John Hammond added a comment -

            Isaac,

            Yes. I will push a patch eventually to do this. I would like to sort out the headers a bit first. lib-types.h contains some structures and defines that are shared by kernel space and user space, and some that are kernel only. I could move the shared stuff to lnet/types.h, or to some other header, or to a new header. Once it is clear which headers are shared I will unifdef _KERNEL_ all the others along with the appropriate .c files.

            jhammond John Hammond added a comment - Isaac, Yes. I will push a patch eventually to do this. I would like to sort out the headers a bit first. lib-types.h contains some structures and defines that are shared by kernel space and user space, and some that are kernel only. I could move the shared stuff to lnet/types.h, or to some other header, or to a new header. Once it is clear which headers are shared I will unifdef _ KERNEL _ all the others along with the appropriate .c files.

            People

              jhammond John Hammond
              jhammond John Hammond
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: