[LU-831] struct bit field type should be unsigned type Created: 10/Nov/11  Updated: 13/Nov/11  Resolved: 13/Nov/11

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

Type: Bug Priority: Minor
Reporter: Zhenyu Xu Assignee: Zhenyu Xu
Resolution: Fixed Votes: 0
Labels: None

Severity: 3
Rank (Obsolete): 4848

 Description   

struct bit field type should be unsigned type, or else when they are read out through proc interface, they are showed as a big number equivalent to -1.
e.g.

  1. cat /proc/fs/lustre/obdfilter/lustre-OST0000/read_cache_enable
    4294967295


 Comments   
Comment by Zhenyu Xu [ 10/Nov/11 ]

patch tracking at http://review.whamcloud.com/1685

Comment by Build Master (Inactive) [ 13/Nov/11 ]

Integrated in lustre-master » x86_64,client,el5,ofa #357
LU-831 header: struct bit field should be unsigned type (Revision a296e9433919a6d709ae7826ecc5310d9e2d1365)

Result = SUCCESS
Oleg Drokin : a296e9433919a6d709ae7826ecc5310d9e2d1365
Files :

  • lustre/include/obd.h
  • lustre/include/linux/lustre_intent.h
  • lustre/include/lustre_dlm.h
Comment by Build Master (Inactive) [ 13/Nov/11 ]

Integrated in lustre-master » i686,client,el6,inkernel #357
LU-831 header: struct bit field should be unsigned type (Revision a296e9433919a6d709ae7826ecc5310d9e2d1365)

Result = SUCCESS
Oleg Drokin : a296e9433919a6d709ae7826ecc5310d9e2d1365
Files :

  • lustre/include/linux/lustre_intent.h
  • lustre/include/lustre_dlm.h
  • lustre/include/obd.h
Comment by Build Master (Inactive) [ 13/Nov/11 ]

Integrated in lustre-master » x86_64,server,el6,inkernel #357
LU-831 header: struct bit field should be unsigned type (Revision a296e9433919a6d709ae7826ecc5310d9e2d1365)

Result = SUCCESS
Oleg Drokin : a296e9433919a6d709ae7826ecc5310d9e2d1365
Files :

  • lustre/include/lustre_dlm.h
  • lustre/include/linux/lustre_intent.h
  • lustre/include/obd.h
Comment by Build Master (Inactive) [ 13/Nov/11 ]

Integrated in lustre-master » x86_64,server,el5,inkernel #357
LU-831 header: struct bit field should be unsigned type (Revision a296e9433919a6d709ae7826ecc5310d9e2d1365)

Result = SUCCESS
Oleg Drokin : a296e9433919a6d709ae7826ecc5310d9e2d1365
Files :

  • lustre/include/obd.h
  • lustre/include/lustre_dlm.h
  • lustre/include/linux/lustre_intent.h
Comment by Build Master (Inactive) [ 13/Nov/11 ]

Integrated in lustre-master » x86_64,client,el5,inkernel #357
LU-831 header: struct bit field should be unsigned type (Revision a296e9433919a6d709ae7826ecc5310d9e2d1365)

Result = SUCCESS
Oleg Drokin : a296e9433919a6d709ae7826ecc5310d9e2d1365
Files :

  • lustre/include/linux/lustre_intent.h
  • lustre/include/lustre_dlm.h
  • lustre/include/obd.h
Comment by Build Master (Inactive) [ 13/Nov/11 ]

Integrated in lustre-master » x86_64,client,sles11,inkernel #357
LU-831 header: struct bit field should be unsigned type (Revision a296e9433919a6d709ae7826ecc5310d9e2d1365)

Result = SUCCESS
Oleg Drokin : a296e9433919a6d709ae7826ecc5310d9e2d1365
Files :

  • lustre/include/lustre_dlm.h
  • lustre/include/obd.h
  • lustre/include/linux/lustre_intent.h
Comment by Build Master (Inactive) [ 13/Nov/11 ]

Integrated in lustre-master » x86_64,client,el6,inkernel #357
LU-831 header: struct bit field should be unsigned type (Revision a296e9433919a6d709ae7826ecc5310d9e2d1365)

Result = SUCCESS
Oleg Drokin : a296e9433919a6d709ae7826ecc5310d9e2d1365
Files :

  • lustre/include/obd.h
  • lustre/include/linux/lustre_intent.h
  • lustre/include/lustre_dlm.h
Comment by Build Master (Inactive) [ 13/Nov/11 ]

Integrated in lustre-master » x86_64,client,ubuntu1004,inkernel #357
LU-831 header: struct bit field should be unsigned type (Revision a296e9433919a6d709ae7826ecc5310d9e2d1365)

Result = SUCCESS
Oleg Drokin : a296e9433919a6d709ae7826ecc5310d9e2d1365
Files :

  • lustre/include/obd.h
  • lustre/include/lustre_dlm.h
  • lustre/include/linux/lustre_intent.h
Comment by Build Master (Inactive) [ 13/Nov/11 ]

Integrated in lustre-master » x86_64,server,el5,ofa #357
LU-831 header: struct bit field should be unsigned type (Revision a296e9433919a6d709ae7826ecc5310d9e2d1365)

Result = SUCCESS
Oleg Drokin : a296e9433919a6d709ae7826ecc5310d9e2d1365
Files :

  • lustre/include/obd.h
  • lustre/include/lustre_dlm.h
  • lustre/include/linux/lustre_intent.h
Comment by Build Master (Inactive) [ 13/Nov/11 ]

Integrated in lustre-master » i686,server,el5,inkernel #357
LU-831 header: struct bit field should be unsigned type (Revision a296e9433919a6d709ae7826ecc5310d9e2d1365)

Result = SUCCESS
Oleg Drokin : a296e9433919a6d709ae7826ecc5310d9e2d1365
Files :

  • lustre/include/obd.h
  • lustre/include/linux/lustre_intent.h
  • lustre/include/lustre_dlm.h
Comment by Build Master (Inactive) [ 13/Nov/11 ]

Integrated in lustre-master » i686,server,el5,ofa #357
LU-831 header: struct bit field should be unsigned type (Revision a296e9433919a6d709ae7826ecc5310d9e2d1365)

Result = SUCCESS
Oleg Drokin : a296e9433919a6d709ae7826ecc5310d9e2d1365
Files :

  • lustre/include/obd.h
  • lustre/include/lustre_dlm.h
  • lustre/include/linux/lustre_intent.h
Comment by Build Master (Inactive) [ 13/Nov/11 ]

Integrated in lustre-master » i686,server,el6,inkernel #357
LU-831 header: struct bit field should be unsigned type (Revision a296e9433919a6d709ae7826ecc5310d9e2d1365)

Result = SUCCESS
Oleg Drokin : a296e9433919a6d709ae7826ecc5310d9e2d1365
Files :

  • lustre/include/obd.h
  • lustre/include/linux/lustre_intent.h
  • lustre/include/lustre_dlm.h
Comment by Build Master (Inactive) [ 13/Nov/11 ]

Integrated in lustre-master » i686,client,el5,ofa #357
LU-831 header: struct bit field should be unsigned type (Revision a296e9433919a6d709ae7826ecc5310d9e2d1365)

Result = SUCCESS
Oleg Drokin : a296e9433919a6d709ae7826ecc5310d9e2d1365
Files :

  • lustre/include/obd.h
  • lustre/include/lustre_dlm.h
  • lustre/include/linux/lustre_intent.h
Comment by Build Master (Inactive) [ 13/Nov/11 ]

Integrated in lustre-master » i686,client,el5,inkernel #357
LU-831 header: struct bit field should be unsigned type (Revision a296e9433919a6d709ae7826ecc5310d9e2d1365)

Result = SUCCESS
Oleg Drokin : a296e9433919a6d709ae7826ecc5310d9e2d1365
Files :

  • lustre/include/lustre_dlm.h
  • lustre/include/obd.h
  • lustre/include/linux/lustre_intent.h
Comment by Zhenyu Xu [ 13/Nov/11 ]

landed on master for 2.2.0

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