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

allow setting larger max_mod_rpcs_in_flight dynamically

Details

    • Improvement
    • Resolution: Fixed
    • Minor
    • Lustre 2.14.0, Lustre 2.12.6
    • None
    • None
    • 9223372036854775807

    Description

      Currently, an error is reported if mdc.*.max_mod_rpcs_in_flight is set larger or equal to mdc.*.max_rpcs_in_flight. However, it makes more sense to allow the user to set max_mod_rpcs_in_flight directly, and just increase max_rpcs_in_flight appropriately, rather than returning an error and telling the user to do that instead.

      Also, during mount config parameter processing, there may be a race between MDC setup and config log handling, so allow max_mod_rpcs_in_flight to be temporarily increased, and then it will be reduced later to the server value when the OCD information is handled.

      Attachments

        Issue Links

          Activity

            [LU-13503] allow setting larger max_mod_rpcs_in_flight dynamically
            yujian Jian Yu added a comment -

            The issue in this ticket was resolved. The remaining two separate issues are tracked in LU-14144 and LU-14145.

            yujian Jian Yu added a comment - The issue in this ticket was resolved. The remaining two separate issues are tracked in LU-14144 and LU-14145 .

            Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/38893/
            Subject: LU-13503 mdc: allow setting max_mod_rpcs_in_flight larger
            Project: fs/lustre-release
            Branch: b2_12
            Current Patch Set:
            Commit: ef8b218c99f69bc8f2aa632c3c5c457d73b01854

            gerrit Gerrit Updater added a comment - Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/38893/ Subject: LU-13503 mdc: allow setting max_mod_rpcs_in_flight larger Project: fs/lustre-release Branch: b2_12 Current Patch Set: Commit: ef8b218c99f69bc8f2aa632c3c5c457d73b01854
            yujian Jian Yu added a comment -

            There are two more patches needed for this ticket.

            yujian Jian Yu added a comment - There are two more patches needed for this ticket.

            Jian Yu (yujian@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/38893
            Subject: LU-13503 mdc: allow setting max_mod_rpcs_in_flight larger
            Project: fs/lustre-release
            Branch: b2_12
            Current Patch Set: 1
            Commit: 32efe830b5952130ff2eee26659e3c92a120c9a9

            gerrit Gerrit Updater added a comment - Jian Yu (yujian@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/38893 Subject: LU-13503 mdc: allow setting max_mod_rpcs_in_flight larger Project: fs/lustre-release Branch: b2_12 Current Patch Set: 1 Commit: 32efe830b5952130ff2eee26659e3c92a120c9a9
            pjones Peter Jones added a comment -

            Landed for 2.14

            pjones Peter Jones added a comment - Landed for 2.14

            Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/38455/
            Subject: LU-13503 mdc: allow setting max_mod_rpcs_in_flight larger
            Project: fs/lustre-release
            Branch: master
            Current Patch Set:
            Commit: 6d314902e6d19229379577aab60d4b20a5b4d2ea

            gerrit Gerrit Updater added a comment - Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/38455/ Subject: LU-13503 mdc: allow setting max_mod_rpcs_in_flight larger Project: fs/lustre-release Branch: master Current Patch Set: Commit: 6d314902e6d19229379577aab60d4b20a5b4d2ea

            Note this sysfs file has issues with import locking. That should be fixed in another patch.

            simmonsja James A Simmons added a comment - Note this sysfs file has issues with import locking. That should be fixed in another patch.

            A separate patch is needed to allow using "lctl set_param [-P] mdt.*.max_mod_rpcs_in_flight=N" via the normal Lustre parameter interface. It doesn't make sense that this is only available as a module parameter.

            adilger Andreas Dilger added a comment - A separate patch is needed to allow using " lctl set_param [-P] mdt.*.max_mod_rpcs_in_flight=N " via the normal Lustre parameter interface. It doesn't make sense that this is only available as a module parameter.

            Andreas Dilger (adilger@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/38455
            Subject: LU-13503 mdc: allow setting max_mod_rpcs_in_flight larger
            Project: fs/lustre-release
            Branch: master
            Current Patch Set: 1
            Commit: d5dd5b436b52885527db10a72243da5968536b16

            gerrit Gerrit Updater added a comment - Andreas Dilger (adilger@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/38455 Subject: LU-13503 mdc: allow setting max_mod_rpcs_in_flight larger Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: d5dd5b436b52885527db10a72243da5968536b16

            People

              yujian Jian Yu
              adilger Andreas Dilger
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: