[LU-299] Uninitialized variable in shrinker test makes it fail incorrectly Created: 09/May/11  Updated: 16/May/11  Resolved: 16/May/11

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

Type: Bug Priority: Major
Reporter: Christopher Morrone Assignee: Zhenyu Xu
Resolution: Fixed Votes: 0
Labels: None
Environment:

pre-RHEL6.1


Severity: 3
Rank (Obsolete): 5037

 Description   

Commit 6697349ea92c2c61a40b8f23655f66de60ca1501 from LU-73 introduced a minor regression in the LC_SHRINKER_WANT_SHRINK_PTR test for pre-RHEL6.1. Use of the uninitialized variable "struct shrinker tmp" is flagged as an error, making the test fail erroneously.

I will submit a fix.



 Comments   
Comment by Christopher Morrone [ 09/May/11 ]

Fix is in:

http://review.whamcloud.com/522

Comment by Peter Jones [ 11/May/11 ]

Bobijam

Could you please look into this one?

Thanks

Peter

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

Integrated in lustre-master » x86_64,client,el5,inkernel #120
LU-299 Initialize struct shrinker variable in test

Oleg Drokin : 985ac5b57e4610e707ddbf06711385b6fcd97216
Files :

  • libcfs/autoconf/lustre-libcfs.m4
Comment by Build Master (Inactive) [ 16/May/11 ]

Integrated in lustre-master » x86_64,client,el6,inkernel #120
LU-299 Initialize struct shrinker variable in test

Oleg Drokin : 985ac5b57e4610e707ddbf06711385b6fcd97216
Files :

  • libcfs/autoconf/lustre-libcfs.m4
Comment by Build Master (Inactive) [ 16/May/11 ]

Integrated in lustre-master » i686,client,el5,inkernel #120
LU-299 Initialize struct shrinker variable in test

Oleg Drokin : 985ac5b57e4610e707ddbf06711385b6fcd97216
Files :

  • libcfs/autoconf/lustre-libcfs.m4
Comment by Build Master (Inactive) [ 16/May/11 ]

Integrated in lustre-master » i686,client,el6,inkernel #120
LU-299 Initialize struct shrinker variable in test

Oleg Drokin : 985ac5b57e4610e707ddbf06711385b6fcd97216
Files :

  • libcfs/autoconf/lustre-libcfs.m4
Comment by Build Master (Inactive) [ 16/May/11 ]

Integrated in lustre-master » i686,client,el5,ofa #120
LU-299 Initialize struct shrinker variable in test

Oleg Drokin : 985ac5b57e4610e707ddbf06711385b6fcd97216
Files :

  • libcfs/autoconf/lustre-libcfs.m4
Comment by Build Master (Inactive) [ 16/May/11 ]

Integrated in lustre-master » x86_64,client,ubuntu1004,inkernel #120
LU-299 Initialize struct shrinker variable in test

Oleg Drokin : 985ac5b57e4610e707ddbf06711385b6fcd97216
Files :

  • libcfs/autoconf/lustre-libcfs.m4
Comment by Build Master (Inactive) [ 16/May/11 ]

Integrated in lustre-master » x86_64,client,el5,ofa #120
LU-299 Initialize struct shrinker variable in test

Oleg Drokin : 985ac5b57e4610e707ddbf06711385b6fcd97216
Files :

  • libcfs/autoconf/lustre-libcfs.m4
Comment by Build Master (Inactive) [ 16/May/11 ]

Integrated in lustre-master » x86_64,server,el6,inkernel #120
LU-299 Initialize struct shrinker variable in test

Oleg Drokin : 985ac5b57e4610e707ddbf06711385b6fcd97216
Files :

  • libcfs/autoconf/lustre-libcfs.m4
Comment by Build Master (Inactive) [ 16/May/11 ]

Integrated in lustre-master » x86_64,client,ubuntu1004,ofa #120
LU-299 Initialize struct shrinker variable in test

Oleg Drokin : 985ac5b57e4610e707ddbf06711385b6fcd97216
Files :

  • libcfs/autoconf/lustre-libcfs.m4
Comment by Build Master (Inactive) [ 16/May/11 ]

Integrated in lustre-master » i686,server,el5,inkernel #120
LU-299 Initialize struct shrinker variable in test

Oleg Drokin : 985ac5b57e4610e707ddbf06711385b6fcd97216
Files :

  • libcfs/autoconf/lustre-libcfs.m4
Comment by Build Master (Inactive) [ 16/May/11 ]

Integrated in lustre-master » i686,server,el5,ofa #120
LU-299 Initialize struct shrinker variable in test

Oleg Drokin : 985ac5b57e4610e707ddbf06711385b6fcd97216
Files :

  • libcfs/autoconf/lustre-libcfs.m4
Comment by Build Master (Inactive) [ 16/May/11 ]

Integrated in lustre-master » x86_64,server,el5,inkernel #120
LU-299 Initialize struct shrinker variable in test

Oleg Drokin : 985ac5b57e4610e707ddbf06711385b6fcd97216
Files :

  • libcfs/autoconf/lustre-libcfs.m4
Comment by Build Master (Inactive) [ 16/May/11 ]

Integrated in lustre-master » i686,server,el6,inkernel #120
LU-299 Initialize struct shrinker variable in test

Oleg Drokin : 985ac5b57e4610e707ddbf06711385b6fcd97216
Files :

  • libcfs/autoconf/lustre-libcfs.m4
Comment by Build Master (Inactive) [ 16/May/11 ]

Integrated in lustre-master » x86_64,server,el5,ofa #120
LU-299 Initialize struct shrinker variable in test

Oleg Drokin : 985ac5b57e4610e707ddbf06711385b6fcd97216
Files :

  • libcfs/autoconf/lustre-libcfs.m4
Generated at Sat Feb 10 01:05:40 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.