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

wrong OSTCOUNT checks in overstripe sanity tests

    XMLWordPrintable

Details

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

    Description

      test_27ce() {
              [[ $OSTCOUNT -ge $(($LOV_MAX_STRIPE_COUNT / 2)) ]] &&
                      skip_env "too many osts, skipping"
              [[ $($LCTL get_param mdc.*.import) =~ connect_flags.*overstriping ]] ||
                      skip "server does not support overstriping"
              # We do one more stripe than we have OSTs
              [ $OSTCOUNT -ge 159 ] || large_xattr_enabled ||
      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                      skip_env "ea_inode feature disabled"
      
       

      if large xattrs are not enabled and OSTCOUNT is small, say, 10, the test is skipped as well as other overstripe tests.

      Attachments

        Activity

          People

            zam Alexander Zarochentsev
            zam Alexander Zarochentsev
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: