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

hsm: sanity check for sane progress extent value

Details

    • Bug
    • Resolution: Fixed
    • Critical
    • Lustre 2.7.0
    • None
    • 3
    • 16094

    Description

      During an HSM archive or restore, the progress is reported by the copytool, in userspace. That value may be bogus. For
      instance, this will crash the MDS in interval_set():

      he.offset = -1;
      he.length = 10;
      rc = llapi_hsm_action_progress(hcp, &he, length, 0);

      So check that userspace is giving a sane progress extent value.

      Attachments

        Issue Links

          Activity

            [LU-5732] hsm: sanity check for sane progress extent value

            James Nunez (james.a.nunez@intel.com) uploaded a new patch: http://review.whamcloud.com/13813
            Subject: LU-5732 hsm: complementary testsuite for user HSM API
            Project: fs/lustre-release
            Branch: b2_5
            Current Patch Set: 1
            Commit: 748b9e50b85094a0bd5992629420dbe6cb4b376a

            gerrit Gerrit Updater added a comment - James Nunez (james.a.nunez@intel.com) uploaded a new patch: http://review.whamcloud.com/13813 Subject: LU-5732 hsm: complementary testsuite for user HSM API Project: fs/lustre-release Branch: b2_5 Current Patch Set: 1 Commit: 748b9e50b85094a0bd5992629420dbe6cb4b376a

            Oleg Drokin (oleg.drokin@intel.com) merged in patch http://review.whamcloud.com/12836/
            Subject: LU-5732 hsm: complementary testsuite for user HSM API
            Project: fs/lustre-release
            Branch: master
            Current Patch Set:
            Commit: 1fe3ae8dab47941e465dcc47ffa52e18538aeb1e

            gerrit Gerrit Updater added a comment - Oleg Drokin (oleg.drokin@intel.com) merged in patch http://review.whamcloud.com/12836/ Subject: LU-5732 hsm: complementary testsuite for user HSM API Project: fs/lustre-release Branch: master Current Patch Set: Commit: 1fe3ae8dab47941e465dcc47ffa52e18538aeb1e
            fzago Frank Zago (Inactive) added a comment - Tests: http://review.whamcloud.com/12836

            frank zago (fzago@cray.com) uploaded a new patch: http://review.whamcloud.com/12836
            Subject: LU-5732 hsm: complementary testsuite for user HSM API
            Project: fs/lustre-release
            Branch: master
            Current Patch Set: 1
            Commit: c6692494185171b69e287a715b15dd6612579ac7

            gerrit Gerrit Updater added a comment - frank zago (fzago@cray.com) uploaded a new patch: http://review.whamcloud.com/12836 Subject: LU-5732 hsm: complementary testsuite for user HSM API Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: c6692494185171b69e287a715b15dd6612579ac7
            jamesanunez James Nunez (Inactive) added a comment - Patch for b2_5 at http://review.whamcloud.com/#/c/12804/

            James Nunez (james.a.nunez@intel.com) uploaded a new patch: http://review.whamcloud.com/12804
            Subject: LU-5732 hsm: sanity check for progress input
            Project: fs/lustre-release
            Branch: b2_5
            Current Patch Set: 1
            Commit: cfd5a058bb61024df786d188949ae3a71f31100e

            gerrit Gerrit Updater added a comment - James Nunez (james.a.nunez@intel.com) uploaded a new patch: http://review.whamcloud.com/12804 Subject: LU-5732 hsm: sanity check for progress input Project: fs/lustre-release Branch: b2_5 Current Patch Set: 1 Commit: cfd5a058bb61024df786d188949ae3a71f31100e

            Patch landed to master (pre-2.7)

            jamesanunez James Nunez (Inactive) added a comment - Patch landed to master (pre-2.7)

            Oleg Drokin (oleg.drokin@intel.com) merged in patch http://review.whamcloud.com/12285/
            Subject: LU-5732 hsm: sanity check for progress input
            Project: fs/lustre-release
            Branch: master
            Current Patch Set:
            Commit: 09974e3d70145343f10cccc8d12917814ccf2c8a

            gerrit Gerrit Updater added a comment - Oleg Drokin (oleg.drokin@intel.com) merged in patch http://review.whamcloud.com/12285/ Subject: LU-5732 hsm: sanity check for progress input Project: fs/lustre-release Branch: master Current Patch Set: Commit: 09974e3d70145343f10cccc8d12917814ccf2c8a
            fzago Frank Zago (Inactive) added a comment - http://review.whamcloud.com/12285

            People

              jamesanunez James Nunez (Inactive)
              fzago Frank Zago (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: