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

sanity test 101g assumes 4k page size

XMLWordPrintable

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

      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.

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

              Created:
              Updated:
              Resolved: