[LU-326] port bug22688 to master (recovery-small.sh: FAIL: test_18b test_18b failed with 2) Created: 15/May/11  Updated: 07/Jun/11  Resolved: 07/Jun/11

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

Type: Bug Priority: Minor
Reporter: Hongchao Zhang Assignee: Hongchao Zhang
Resolution: Fixed Votes: 0
Labels: None

Severity: 3
Bugzilla ID: 22,688
Rank (Obsolete): 5013

 Description   

in test_18c, it uses df to send a statfs request to OST to detect the disconnection and reconnect to OST, for there could be cache of the statfs, then
the statfs request would be sent to OST then it won't detect the disconnection stat.

for test_18b, master has fixed it by using "sleep $((TIMEOUT + 2))" instead of "df"



 Comments   
Comment by Andreas Dilger [ 16/May/11 ]

The statfs cache should only be valid for a second or two. There shouldn't be a need to sleep $((TIMEOUT + 2)) just to expire the statfs cache. This needlessly slows down the testing and should be avoided.

Comment by Build Master (Inactive) [ 31/May/11 ]

Integrated in lustre-master » x86_64,client,el5,inkernel #143
LU-326 make sure df send statfs request

Oleg Drokin : 2ee8ddb331e0b869d5721198b5c7be6989696534
Files :

  • lustre/tests/recovery-small.sh
Comment by Build Master (Inactive) [ 31/May/11 ]

Integrated in lustre-master » x86_64,client,el6,inkernel #143
LU-326 make sure df send statfs request

Oleg Drokin : 2ee8ddb331e0b869d5721198b5c7be6989696534
Files :

  • lustre/tests/recovery-small.sh
Comment by Build Master (Inactive) [ 31/May/11 ]

Integrated in lustre-master » x86_64,client,sles11,inkernel #143
LU-326 make sure df send statfs request

Oleg Drokin : 2ee8ddb331e0b869d5721198b5c7be6989696534
Files :

  • lustre/tests/recovery-small.sh
Comment by Build Master (Inactive) [ 31/May/11 ]

Integrated in lustre-master » i686,client,el5,inkernel #143
LU-326 make sure df send statfs request

Oleg Drokin : 2ee8ddb331e0b869d5721198b5c7be6989696534
Files :

  • lustre/tests/recovery-small.sh
Comment by Build Master (Inactive) [ 31/May/11 ]

Integrated in lustre-master » i686,client,el5,ofa #143
LU-326 make sure df send statfs request

Oleg Drokin : 2ee8ddb331e0b869d5721198b5c7be6989696534
Files :

  • lustre/tests/recovery-small.sh
Comment by Build Master (Inactive) [ 31/May/11 ]

Integrated in lustre-master » x86_64,client,ubuntu1004,inkernel #143
LU-326 make sure df send statfs request

Oleg Drokin : 2ee8ddb331e0b869d5721198b5c7be6989696534
Files :

  • lustre/tests/recovery-small.sh
Comment by Build Master (Inactive) [ 31/May/11 ]

Integrated in lustre-master » i686,client,el6,inkernel #143
LU-326 make sure df send statfs request

Oleg Drokin : 2ee8ddb331e0b869d5721198b5c7be6989696534
Files :

  • lustre/tests/recovery-small.sh
Comment by Build Master (Inactive) [ 31/May/11 ]

Integrated in lustre-master » x86_64,server,el5,inkernel #143
LU-326 make sure df send statfs request

Oleg Drokin : 2ee8ddb331e0b869d5721198b5c7be6989696534
Files :

  • lustre/tests/recovery-small.sh
Comment by Build Master (Inactive) [ 31/May/11 ]

Integrated in lustre-master » x86_64,server,el6,inkernel #143
LU-326 make sure df send statfs request

Oleg Drokin : 2ee8ddb331e0b869d5721198b5c7be6989696534
Files :

  • lustre/tests/recovery-small.sh
Comment by Build Master (Inactive) [ 31/May/11 ]

Integrated in lustre-master » x86_64,client,ubuntu1004,ofa #143
LU-326 make sure df send statfs request

Oleg Drokin : 2ee8ddb331e0b869d5721198b5c7be6989696534
Files :

  • lustre/tests/recovery-small.sh
Comment by Build Master (Inactive) [ 31/May/11 ]

Integrated in lustre-master » i686,server,el5,inkernel #143
LU-326 make sure df send statfs request

Oleg Drokin : 2ee8ddb331e0b869d5721198b5c7be6989696534
Files :

  • lustre/tests/recovery-small.sh
Comment by Build Master (Inactive) [ 31/May/11 ]

Integrated in lustre-master » i686,server,el5,ofa #143
LU-326 make sure df send statfs request

Oleg Drokin : 2ee8ddb331e0b869d5721198b5c7be6989696534
Files :

  • lustre/tests/recovery-small.sh
Comment by Build Master (Inactive) [ 31/May/11 ]

Integrated in lustre-master » i686,server,el6,inkernel #143
LU-326 make sure df send statfs request

Oleg Drokin : 2ee8ddb331e0b869d5721198b5c7be6989696534
Files :

  • lustre/tests/recovery-small.sh
Comment by Build Master (Inactive) [ 31/May/11 ]

Integrated in lustre-master » x86_64,client,el5,ofa #143
LU-326 make sure df send statfs request

Oleg Drokin : 2ee8ddb331e0b869d5721198b5c7be6989696534
Files :

  • lustre/tests/recovery-small.sh
Comment by Build Master (Inactive) [ 31/May/11 ]

Integrated in lustre-master » x86_64,server,el5,ofa #143
LU-326 make sure df send statfs request

Oleg Drokin : 2ee8ddb331e0b869d5721198b5c7be6989696534
Files :

  • lustre/tests/recovery-small.sh
Comment by Hongchao Zhang [ 07/Jun/11 ]

the patch has been landed on master, close the bug.

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