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

sanity test 101g assumes 4k page size

Details

    • Bug
    • Resolution: Duplicate
    • Minor
    • None
    • None
    • None
    • 3
    • 9223372036854775807

    Description

      There's a hardcoded assumption that 16M is 4096 pages which is wrong on some architectures.

      Andreas advises that we can actually calculate proper pages with:

              local page_count=$((16 * 1048576 / $(page_size)))
      
              [ "$mp" -eq "$page_count" ] ||
      

      and also in a couple mor espots in that same test.

      Attachments

        Issue Links

          Activity

            [LU-8166] sanity test 101g assumes 4k page size

            sanity test 101g page size parameters were generalized with the patch for LU-8139 at https://review.whamcloud.com/25335.

            jamesanunez James Nunez (Inactive) added a comment - sanity test 101g page size parameters were generalized with the patch for LU-8139 at https://review.whamcloud.com/25335 .

            James Nunez (james.a.nunez@intel.com) uploaded a new patch: http://review.whamcloud.com/21084
            Subject: LU-8166 tests: Generalize page size
            Project: fs/lustre-release
            Branch: master
            Current Patch Set: 1
            Commit: a15d479a88b425dede559933c1aece9c01a14a55

            gerrit Gerrit Updater added a comment - James Nunez (james.a.nunez@intel.com) uploaded a new patch: http://review.whamcloud.com/21084 Subject: LU-8166 tests: Generalize page size Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: a15d479a88b425dede559933c1aece9c01a14a55
            green Oleg Drokin added a comment - See the discussion here: http://review.whamcloud.com/#/c/20282/2/lustre/tests/sanity.sh,unified

            People

              jamesanunez James Nunez (Inactive)
              green Oleg Drokin
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: