[LU-1486] stat must fail: command not found Created: 02/May/12  Updated: 19/Feb/13  Resolved: 19/Feb/13

Status: Closed
Project: Lustre
Component/s: None
Affects Version/s: Lustre 2.4.0, Lustre 2.1.5
Fix Version/s: Lustre 2.4.0, Lustre 2.1.5

Type: Bug Priority: Minor
Reporter: Sarah Liu Assignee: Jian Yu
Resolution: Fixed Votes: 0
Labels: None
Environment:

lustre-b2_1/#50
server RHEL5-x86_64
client RHEL5-i686


Severity: 3
Rank (Obsolete): 2205

 Description   

It looks like an environment issue,please see the Maloo report for more info,test_45g: https://maloo.whamcloud.com/test_sets/1f338df0-929b-11e1-9e8b-525400d2bfa6



 Comments   
Comment by Chris Gearing (Inactive) [ 06/Jun/12 ]

This is a bug;

test_45g() {
touch $DIR1/$tfile
#define OBD_FAIL_ONCE|OBD_FAIL_MDS_PDO_LOCK 0x145
do_facet $SINGLEMDS lctl set_param fail_loc=0x80000145
mv $DIR1/$tfile $DIR1/$tfile-2 &
PID1=$!
sleep 1
stat $DIR2/$tfile > /dev/null && "stat must fail"
check_pdo_conflict $PID1 &&

{ wait $PID1; error "getattr isn't blocked"; }

rm -r $DIR1/*
return 0
}

stat $DIR2/$tfile > /dev/null && "stat must fail"

should be

stat $DIR2/$tfile > /dev/null && error "stat must fail"

This should be assigned to the author of the original test if they are still with the Lustre community.

Comment by Peter Jones [ 17/Aug/12 ]

Yujian

I'm not sure who the original author is but can you help fix this bug?

Peter

Comment by Jian Yu [ 30/Aug/12 ]

Patch for master branch: http://review.whamcloud.com/3826

Comment by Jian Yu [ 26/Jan/13 ]

Patch for master branch: http://review.whamcloud.com/3826

The patch also needs to be cherry-picked to Lustre b2_1 branch.

Comment by Jian Yu [ 19/Feb/13 ]

Patch was landed on Lustre b2_1 branch.

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