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

sanity test 101g assumes 4k page size

    XMLWordPrintable

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

            People

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

              Dates

                Created:
                Updated:
                Resolved: