Details

    • Bug
    • Resolution: Fixed
    • Critical
    • Lustre 2.8.0
    • None
    • 3
    • 9223372036854775807

    Description

      A dangerous timeframe exists after enabling a NRS policy where setting a policy-specific tuning would lead to crashes, due to incomplete initialization of the policy.

      Trivial reproducer:
      echo -n orr > /proc/fs/lustre/ost/OSS/ost_io/nrs_policies & sleep 0.1 && echo -n 32 > /proc/fs/lustre/ost/OSS/ost_io/nrs_orr_quantum

      Attachments

        Issue Links

          Activity

            [LU-6673] NRS crash when applying tunings

            Landed for 2.8.

            jgmitter Joseph Gmitter (Inactive) added a comment - Landed for 2.8.

            Oleg Drokin (oleg.drokin@intel.com) merged in patch http://review.whamcloud.com/15104/
            Subject: LU-6673 ptlrpc: Forbid too early NRS policy tunings
            Project: fs/lustre-release
            Branch: master
            Current Patch Set:
            Commit: d4db3f18e523256f6c562a8993332f7fb7d70486

            gerrit Gerrit Updater added a comment - Oleg Drokin (oleg.drokin@intel.com) merged in patch http://review.whamcloud.com/15104/ Subject: LU-6673 ptlrpc: Forbid too early NRS policy tunings Project: fs/lustre-release Branch: master Current Patch Set: Commit: d4db3f18e523256f6c562a8993332f7fb7d70486
            pjones Peter Jones added a comment -

            Emoly

            Could you please take care of this patch?

            Thanks

            Peter

            pjones Peter Jones added a comment - Emoly Could you please take care of this patch? Thanks Peter

            Henri Doreau (henri.doreau@cea.fr) uploaded a new patch: http://review.whamcloud.com/15104
            Subject: LU-6673 ptlrpc: Forbid too early NRS policy tunings
            Project: fs/lustre-release
            Branch: master
            Current Patch Set: 1
            Commit: ad64bfdc9cc85014db86501ff1340a43034cbc57

            gerrit Gerrit Updater added a comment - Henri Doreau (henri.doreau@cea.fr) uploaded a new patch: http://review.whamcloud.com/15104 Subject: LU-6673 ptlrpc: Forbid too early NRS policy tunings Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: ad64bfdc9cc85014db86501ff1340a43034cbc57

            We will provide a patch

            hdoreau Henri Doreau (Inactive) added a comment - We will provide a patch

            People

              emoly.liu Emoly Liu
              hdoreau Henri Doreau (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: