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

Improve lustre kernel string handling

Details

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

    Description

      While pushing work upstream some of the feedback was related to how Lustre does its own direct parsing of string which is frowned on. Secondly we are still not using newer kernel string interfaces like kstrtoul instead of simple_string() and other examples exist as well that have been merged upstream.

      Attachments

        Issue Links

          Activity

            [LU-9325] Improve lustre kernel string handling

            James Simmons (jsimmons@infradead.org) uploaded a new patch: https://review.whamcloud.com/38846
            Subject: LU-9325 mdt: replace simple_strtol() with kstrtol()
            Project: fs/lustre-release
            Branch: master
            Current Patch Set: 1
            Commit: 201128895c982522dc78b9f6c98329e56a7cb5a1

            gerrit Gerrit Updater added a comment - James Simmons (jsimmons@infradead.org) uploaded a new patch: https://review.whamcloud.com/38846 Subject: LU-9325 mdt: replace simple_strtol() with kstrtol() Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: 201128895c982522dc78b9f6c98329e56a7cb5a1

            Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/36551/
            Subject: LU-9325 mds: replace simple_strtol use with target_name2index()
            Project: fs/lustre-release
            Branch: master
            Current Patch Set:
            Commit: 7d37148e36854a293fdc40d7d771769f0a6b64e0

            gerrit Gerrit Updater added a comment - Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/36551/ Subject: LU-9325 mds: replace simple_strtol use with target_name2index() Project: fs/lustre-release Branch: master Current Patch Set: Commit: 7d37148e36854a293fdc40d7d771769f0a6b64e0

            James Simmons (jsimmons@infradead.org) uploaded a new patch: https://review.whamcloud.com/36551
            Subject: LU-9325 mds: replace simple_strtol use with target_name2index()
            Project: fs/lustre-release
            Branch: master
            Current Patch Set: 1
            Commit: 8625814aecc72beb592d6620b4382c007c119a04

            gerrit Gerrit Updater added a comment - James Simmons (jsimmons@infradead.org) uploaded a new patch: https://review.whamcloud.com/36551 Subject: LU-9325 mds: replace simple_strtol use with target_name2index() Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: 8625814aecc72beb592d6620b4382c007c119a04

            Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/33959/
            Subject: LU-9325 msg: replace obsolete simple_strtoul use
            Project: fs/lustre-release
            Branch: master
            Current Patch Set:
            Commit: 30239b4aecbe80e14f65316defd9fe162426147a

            gerrit Gerrit Updater added a comment - Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/33959/ Subject: LU-9325 msg: replace obsolete simple_strtoul use Project: fs/lustre-release Branch: master Current Patch Set: Commit: 30239b4aecbe80e14f65316defd9fe162426147a

            James Simmons (uja.ornl@yahoo.com) uploaded a new patch: https://review.whamcloud.com/33959
            Subject: LU-9325 msg: replace obsolete simple_strtoul use
            Project: fs/lustre-release
            Branch: master
            Current Patch Set: 1
            Commit: f7ebdb6c5aa4a42e4a7ce4e1ec3daecdb1f86107

            gerrit Gerrit Updater added a comment - James Simmons (uja.ornl@yahoo.com) uploaded a new patch: https://review.whamcloud.com/33959 Subject: LU-9325 msg: replace obsolete simple_strtoul use Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: f7ebdb6c5aa4a42e4a7ce4e1ec3daecdb1f86107

            James Simmons (uja.ornl@yahoo.com) uploaded a new patch: https://review.whamcloud.com/33617
            Subject: LU-9325 obdclass: make niduuid for lustre_stop_mgc() static
            Project: fs/lustre-release
            Branch: master
            Current Patch Set: 1
            Commit: fdf3062c711fa27504be9029e03a4c84c9014ed5

            gerrit Gerrit Updater added a comment - James Simmons (uja.ornl@yahoo.com) uploaded a new patch: https://review.whamcloud.com/33617 Subject: LU-9325 obdclass: make niduuid for lustre_stop_mgc() static Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: fdf3062c711fa27504be9029e03a4c84c9014ed5

            James Simmons (uja.ornl@yahoo.com) uploaded a new patch: https://review.whamcloud.com/33385
            Subject: LU-9325 libcfs: don't stomp on module string for cfs_str2num_check
            Project: fs/lustre-release
            Branch: master
            Current Patch Set: 1
            Commit: d9f60a170dd8f7786b52b8f09bfe04218c374cbe

            gerrit Gerrit Updater added a comment - James Simmons (uja.ornl@yahoo.com) uploaded a new patch: https://review.whamcloud.com/33385 Subject: LU-9325 libcfs: don't stomp on module string for cfs_str2num_check Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: d9f60a170dd8f7786b52b8f09bfe04218c374cbe

            Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/32785/
            Subject: LU-9325 ptlrpc: replace simple_strtol with kstrtol
            Project: fs/lustre-release
            Branch: master
            Current Patch Set:
            Commit: 8f37d64b6bc9111ff20ffb0bd22daf8fb9c8c159

            gerrit Gerrit Updater added a comment - Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/32785/ Subject: LU-9325 ptlrpc: replace simple_strtol with kstrtol Project: fs/lustre-release Branch: master Current Patch Set: Commit: 8f37d64b6bc9111ff20ffb0bd22daf8fb9c8c159

            Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/32598/
            Subject: LU-9325 llog: replace simple_strtol with kstrtol
            Project: fs/lustre-release
            Branch: master
            Current Patch Set:
            Commit: 62a19d61419453048dc595b8ba2cf77c06a9755f

            gerrit Gerrit Updater added a comment - Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/32598/ Subject: LU-9325 llog: replace simple_strtol with kstrtol Project: fs/lustre-release Branch: master Current Patch Set: Commit: 62a19d61419453048dc595b8ba2cf77c06a9755f

            James Simmons (uja.ornl@yahoo.com) uploaded a new patch: https://review.whamcloud.com/32785
            Subject: LU-9325 ptlrpc: replace simple_strtol with kstrtol
            Project: fs/lustre-release
            Branch: master
            Current Patch Set: 1
            Commit: 800d04bd0ec6cd82be7cc8edbd9df7b45e4a7de5

            gerrit Gerrit Updater added a comment - James Simmons (uja.ornl@yahoo.com) uploaded a new patch: https://review.whamcloud.com/32785 Subject: LU-9325 ptlrpc: replace simple_strtol with kstrtol Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: 800d04bd0ec6cd82be7cc8edbd9df7b45e4a7de5

            James Simmons (uja.ornl@yahoo.com) uploaded a new patch: https://review.whamcloud.com/32598
            Subject: LU-9325 llog: replace simple_strtol with kstrtol
            Project: fs/lustre-release
            Branch: master
            Current Patch Set: 1
            Commit: c99eda99d72103f5f012e9c8744dba651f34b77d

            gerrit Gerrit Updater added a comment - James Simmons (uja.ornl@yahoo.com) uploaded a new patch: https://review.whamcloud.com/32598 Subject: LU-9325 llog: replace simple_strtol with kstrtol Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: c99eda99d72103f5f012e9c8744dba651f34b77d

            People

              simmonsja James A Simmons
              simmonsja James A Simmons
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: