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

sanity test_27f write to the wrong file name

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • Lustre 2.4.0
    • None
    • None
    • 3
    • 7771

    Description

      test_27f() {
      test_mkdir -p $DIR/d27
      $SETSTRIPE -S 100 -i 0 -c 1 $DIR/d27/fbad && error "setstripe failed"
      dd if=/dev/zero of=$DIR/d27/f12 bs=4k count=4 || error "dd failed"
      ^^^^^ wrong file
      $GETSTRIPE $DIR/d27/fbad || error "$GETSTRIPE failed"
      }

      Attachments

        Activity

          [LU-3183] sanity test_27f write to the wrong file name
          mdiep Minh Diep added a comment -

          landed in 2.4

          mdiep Minh Diep added a comment - landed in 2.4
          mdiep Minh Diep added a comment - patch http://review.whamcloud.com/#change,6084
          mdiep Minh Diep added a comment -

          I am at LUG. I don't mind if you take this

          mdiep Minh Diep added a comment - I am at LUG. I don't mind if you take this

          Sorry could not read the formating.

          From sanity.sh

          test_27f() {
                  test_mkdir -p $DIR/d27
                  $SETSTRIPE -S 100 -i 0 -c 1 $DIR/d27/fbad && error "setstripe failed"
                  dd if=/dev/zero of=$DIR/d27/f12 bs=4k count=4 || error "dd failed"
                  $GETSTRIPE $DIR/d27/fbad || error "$GETSTRIPE failed"
          }
          run_test 27f "setstripe with bad stripe size (should return error)"
          

          Do you have a patch?

          keith Keith Mannthey (Inactive) added a comment - Sorry could not read the formating. From sanity.sh test_27f() { test_mkdir -p $DIR/d27 $SETSTRIPE -S 100 -i 0 -c 1 $DIR/d27/fbad && error "setstripe failed" dd if=/dev/zero of=$DIR/d27/f12 bs=4k count=4 || error "dd failed" $GETSTRIPE $DIR/d27/fbad || error "$GETSTRIPE failed" } run_test 27f "setstripe with bad stripe size (should return error)" Do you have a patch?

          People

            mdiep Minh Diep
            mdiep Minh Diep
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: