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

use correct obd index in print_failed_tgt()

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • Lustre 2.14.0
    • None
    • None
    • 3
    • 9223372036854775807

    Description

      In function print_failed_tgt(), when calling llapi_obd_statfs(), the correct obd index should be used according to obd type.

      Attachments

        Activity

          [LU-13460] use correct obd index in print_failed_tgt()

          Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/38959/
          Subject: LU-13460 lfs: make function print_failed_tgt() work correctly
          Project: fs/lustre-release
          Branch: master
          Current Patch Set:
          Commit: 219cbfc7665a9260f3d5c8ceee823506a89df42f

          gerrit Gerrit Updater added a comment - Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/38959/ Subject: LU-13460 lfs: make function print_failed_tgt() work correctly Project: fs/lustre-release Branch: master Current Patch Set: Commit: 219cbfc7665a9260f3d5c8ceee823506a89df42f

          Emoly Liu (emoly@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/38959
          Subject: LU-13460 tests: initialize $mdt_idx in sanity.sh test_56rb
          Project: fs/lustre-release
          Branch: master
          Current Patch Set: 1
          Commit: 47e8f86465646d8428f7f0afe12f5e6a702353aa

          gerrit Gerrit Updater added a comment - Emoly Liu (emoly@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/38959 Subject: LU-13460 tests: initialize $mdt_idx in sanity.sh test_56rb Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: 47e8f86465646d8428f7f0afe12f5e6a702353aa
          emoly.liu Emoly Liu added a comment -

          tappro,

          Thanks for pointing this out! I will submit a patch soon.

          emoly.liu Emoly Liu added a comment - tappro , Thanks for pointing this out! I will submit a patch soon.

          new test sanity 56rb() is not doing what it is supposed to do:

          /mnt/lustre/d56rb.sanity/f56rb.sanity
          error: find: no filename|pathname
          find files matching given attributes recursively in directory tree.
          usage: find <directory|filename> ...
          

          in test the variable $mdt_index is not initialized so test doesn't check how --mdt option works

          tappro Mikhail Pershin added a comment - new test sanity 56rb() is not doing what it is supposed to do: /mnt/lustre/d56rb.sanity/f56rb.sanity error: find: no filename|pathname find files matching given attributes recursively in directory tree. usage: find <directory|filename> ... in test the variable $mdt_index is not initialized so test doesn't check how --mdt option works
          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/38264/
          Subject: LU-13460 lfs: use correct obd index in print_failed_tgt()
          Project: fs/lustre-release
          Branch: master
          Current Patch Set:
          Commit: 25e58c4755609f74bbcd046fd3cea17a7a6dd063

          gerrit Gerrit Updater added a comment - Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/38264/ Subject: LU-13460 lfs: use correct obd index in print_failed_tgt() Project: fs/lustre-release Branch: master Current Patch Set: Commit: 25e58c4755609f74bbcd046fd3cea17a7a6dd063

          Emoly Liu (emoly@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/38264
          Subject: LU-13460 lfs: use correct obd index in print_failed_tgt()
          Project: fs/lustre-release
          Branch: master
          Current Patch Set: 1
          Commit: b8413070b1b7695183fd1342042ec2f420b50435

          gerrit Gerrit Updater added a comment - Emoly Liu (emoly@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/38264 Subject: LU-13460 lfs: use correct obd index in print_failed_tgt() Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: b8413070b1b7695183fd1342042ec2f420b50435

          People

            emoly.liu Emoly Liu
            emoly.liu Emoly Liu
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: