Details

    • Technical task
    • Resolution: Fixed
    • Blocker
    • Lustre 2.5.0
    • Lustre 2.5.0
    • 9558

    Description

      When the cdt main thread will be landing some cross-component code cleaning needs to be done:

      • replace hai_zero() by hai_first()
      • display policy in /proc must be: policy1 [policy2] policy3
      • replace use of cfs_list_XXX by kernel functions, avoid use of list_entry() in list_XXX loop
      • remove extra parenthesis in if tests in HSM mdt files
      • "find" functions like mdt_hsm_get_md_hsm() or cdt_find_request_nolock() must return NULL if not found in place of ERR_PTR(-ENOENT)
      • clean 2 err msg in mdt_hsm_cdt_agent.c
      • styles in lmv_obd.c (from LU-3365)
      • err code printed 2 times in mdt_hsm_cdt_agent.c

      It will be safer to wait for sanity-hsm landing before landing these patches so maloo will validate them on the full HSM stack

      I will prepare the patch

      Attachments

        Activity

          [LU-3709] Coordinator follow-on patche: code cleaning

          The remaining item "display policy in /proc must be: policy1 [policy2] policy3" is in ticket LU-3756

          jcl jacques-charles lafoucriere added a comment - The remaining item "display policy in /proc must be: policy1 [policy2] policy3" is in ticket LU-3756

          Patch are:
          MDT part http://review.whamcloud.com/7254 (depends on CDT)
          LMV part http://review.whamcloud.com/7252 (no dependency)

          Missing is new policy display under /proc. Will do another patch for it.

          jcl jacques-charles lafoucriere added a comment - Patch are: MDT part http://review.whamcloud.com/7254 (depends on CDT) LMV part http://review.whamcloud.com/7252 (no dependency) Missing is new policy display under /proc. Will do another patch for it.

          People

            jay Jinshan Xiong (Inactive)
            cealustre CEA
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: