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

clean up technical debt for proc_dir_entry changes

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • Lustre 2.7.0
    • Lustre 2.7.0
    • 3
    • 14723

    Description

      This is to address the last comment made in LU-3319 to cleanup the technical debt.

      Attachments

        Issue Links

          Activity

            [LU-5275] clean up technical debt for proc_dir_entry changes

            James Simmons (uja.ornl@gmail.com) uploaded a new patch: http://review.whamcloud.com/13341
            Subject: LU-5275 libcfs: merge params_tree.h into lprocfs_status.h
            Project: fs/lustre-release
            Branch: master
            Current Patch Set: 1
            Commit: b22696a65873fdb69caf2a652f3bfe266bfcb489

            gerrit Gerrit Updater added a comment - James Simmons (uja.ornl@gmail.com) uploaded a new patch: http://review.whamcloud.com/13341 Subject: LU-5275 libcfs: merge params_tree.h into lprocfs_status.h Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: b22696a65873fdb69caf2a652f3bfe266bfcb489

            Oleg Drokin (oleg.drokin@intel.com) merged in patch http://review.whamcloud.com/13225/
            Subject: LU-5275 lprocfs: reduce scope of params_tree.h
            Project: fs/lustre-release
            Branch: master
            Current Patch Set:
            Commit: f9920b4924edce1bd341622eee4281fdcd41845a

            gerrit Gerrit Updater added a comment - Oleg Drokin (oleg.drokin@intel.com) merged in patch http://review.whamcloud.com/13225/ Subject: LU-5275 lprocfs: reduce scope of params_tree.h Project: fs/lustre-release Branch: master Current Patch Set: Commit: f9920b4924edce1bd341622eee4281fdcd41845a

            James Simmons (uja.ornl@gmail.com) uploaded a new patch: http://review.whamcloud.com/13330
            Subject: LU-5275 lprocfs: sync names to upstream kernel lustre client
            Project: fs/lustre-release
            Branch: master
            Current Patch Set: 1
            Commit: a0ab151983e0655f95f7c5b53b09054b5159578a

            gerrit Gerrit Updater added a comment - James Simmons (uja.ornl@gmail.com) uploaded a new patch: http://review.whamcloud.com/13330 Subject: LU-5275 lprocfs: sync names to upstream kernel lustre client Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: a0ab151983e0655f95f7c5b53b09054b5159578a

            John L. Hammond (john.hammond@intel.com) uploaded a new patch: http://review.whamcloud.com/13299
            Subject: LU-5275 lprocfs: replace LPROCFS with CONFIG_PROC_FS
            Project: fs/lustre-release
            Branch: master
            Current Patch Set: 1
            Commit: 1cd9b42ae4bfa063ddeb1d9c153b86afb1373264

            gerrit Gerrit Updater added a comment - John L. Hammond (john.hammond@intel.com) uploaded a new patch: http://review.whamcloud.com/13299 Subject: LU-5275 lprocfs: replace LPROCFS with CONFIG_PROC_FS Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: 1cd9b42ae4bfa063ddeb1d9c153b86afb1373264

            I have done exhaustive testing and looked very closely at the what states lustre procfs handling is in for the case of client and server being on the same node. I loaded lod then lov and vice versa as well as unload the modules in the two possible orders. I detected no leaks in either case. In order to fill out out proc trees we have to preform mounting/unmounting of the MDT and the client. I tried both orders of mounting and
            umount and saw no issues with remove_proc_subtree. Tired various combos of mounting/unmounting and module loading/unloading. No memory leaks/disappearing directories or handling symlinks occurred. Please note this is all done on a 3.12 kernel. Also looking at detail of the procfs initialization and removal don't show a issue with remove_proc_subtree.

            simmonsja James A Simmons added a comment - I have done exhaustive testing and looked very closely at the what states lustre procfs handling is in for the case of client and server being on the same node. I loaded lod then lov and vice versa as well as unload the modules in the two possible orders. I detected no leaks in either case. In order to fill out out proc trees we have to preform mounting/unmounting of the MDT and the client. I tried both orders of mounting and umount and saw no issues with remove_proc_subtree. Tired various combos of mounting/unmounting and module loading/unloading. No memory leaks/disappearing directories or handling symlinks occurred. Please note this is all done on a 3.12 kernel. Also looking at detail of the procfs initialization and removal don't show a issue with remove_proc_subtree.

            John L. Hammond (john.hammond@intel.com) uploaded a new patch: http://review.whamcloud.com/13225
            Subject: LU-5275 lprocfs: reduce scope of params_tree.h
            Project: fs/lustre-release
            Branch: master
            Current Patch Set: 1
            Commit: d4921339526c9076bf7a72660c86dac883b9eed4

            gerrit Gerrit Updater added a comment - John L. Hammond (john.hammond@intel.com) uploaded a new patch: http://review.whamcloud.com/13225 Subject: LU-5275 lprocfs: reduce scope of params_tree.h Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: d4921339526c9076bf7a72660c86dac883b9eed4

            Patch landed to master.

            jlevi Jodi Levi (Inactive) added a comment - Patch landed to master.

            For the record, i have reverted http://review.whamcloud.com/#/c/12298 since it broken the el6.6 build.

            johann Johann Lombardi (Inactive) added a comment - For the record, i have reverted http://review.whamcloud.com/#/c/12298 since it broken the el6.6 build.

            Johann Lombardi (johann.lombardi@intel.com) merged in patch http://review.whamcloud.com/12953/
            Subject: Revert "LU-5275 lprocfs: remove last of non seq data structs and functions."
            Project: fs/lustre-release
            Branch: master
            Current Patch Set:
            Commit: b1e595c09e1b07a6840142b3ae015b8a5a8affeb

            gerrit Gerrit Updater added a comment - Johann Lombardi (johann.lombardi@intel.com) merged in patch http://review.whamcloud.com/12953/ Subject: Revert " LU-5275 lprocfs: remove last of non seq data structs and functions." Project: fs/lustre-release Branch: master Current Patch Set: Commit: b1e595c09e1b07a6840142b3ae015b8a5a8affeb

            Johann Lombardi (johann.lombardi@intel.com) uploaded a new patch: http://review.whamcloud.com/12953
            Subject: Revert "LU-5275 lprocfs: remove last of non seq data structs and functions."
            Project: fs/lustre-release
            Branch: master
            Current Patch Set: 1
            Commit: 80e25c90a3d45ee0ec55b0a83282168b0583303a

            gerrit Gerrit Updater added a comment - Johann Lombardi (johann.lombardi@intel.com) uploaded a new patch: http://review.whamcloud.com/12953 Subject: Revert " LU-5275 lprocfs: remove last of non seq data structs and functions." Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: 80e25c90a3d45ee0ec55b0a83282168b0583303a

            Update patch http://review.whamcloud.com/#/c/12235. This should be the last patch in the series.

            simmonsja James A Simmons added a comment - Update patch http://review.whamcloud.com/#/c/12235 . This should be the last patch in the series.

            People

              jhammond John Hammond
              jlevi Jodi Levi (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: