[LU-3183] sanity test_27f write to the wrong file name Created: 17/Apr/13  Updated: 23/Apr/13  Resolved: 23/Apr/13

Status: Resolved
Project: Lustre
Component/s: None
Affects Version/s: None
Fix Version/s: Lustre 2.4.0

Type: Bug Priority: Minor
Reporter: Minh Diep Assignee: Minh Diep
Resolution: Fixed Votes: 0
Labels: None

Severity: 3
Rank (Obsolete): 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"
}



 Comments   
Comment by Keith Mannthey (Inactive) [ 17/Apr/13 ]

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?

Comment by Minh Diep [ 17/Apr/13 ]

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

Comment by Minh Diep [ 17/Apr/13 ]

patch http://review.whamcloud.com/#change,6084

Comment by Minh Diep [ 23/Apr/13 ]

landed in 2.4

Generated at Sat Feb 10 01:31:41 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.