[LU-54] LPSZ should be removed from 1.8 to match master Created: 24/Jan/11  Updated: 28/Jun/11  Resolved: 30/Mar/11

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

Type: Bug Priority: Minor
Reporter: Kit Westneat (Inactive) Assignee: Niu Yawei (Inactive)
Resolution: Fixed Votes: 0
Labels: None

Severity: 3
Bugzilla ID: 22,729
Rank (Obsolete): 10270

 Description   

As described in bug 22729, the use of LPSZ should be removed for portability purposes, as well as to match the master branch.

As Andreas says:
"""
To be honest, I'd rather just get rid of LPSZ and cast the values
to (int) or (long) and use %u or %lu as needed. For the 10 or 15
places that we use LPSZ in b1_8 I think we should just get rid of it.

See my earlier comment that LPSZ has been removed entirely from
master, so I'd rather modify the b1_8 code to be more like master
instead of moving away from it.
"""



 Comments   
Comment by Peter Jones [ 24/Jan/11 ]

Niu will be looking into this one

Comment by Niu Yawei (Inactive) [ 25/Jan/11 ]

patch is ready for review.http://review.whamcloud.com/219

Comment by Peter Jones [ 10/Feb/11 ]

Niu

I suggest that you get Johann's approval for this change. He starts with us next week.

Regards

Peter

Comment by Niu Yawei (Inactive) [ 10/Feb/11 ]

Yes, I've posted the patch in b22729 and added Johann for review. Whenever he joined us, I'll add him in Jira to review this patch.

Comment by Build Master (Inactive) [ 25/Mar/11 ]

Integrated in reviews-centos5 #565
LU-54 Remove LPSZ & LPSSZ

Niu Yawei : a95f4e3938e9db452afeb97b104c6139a9c9da28
Files :

  • lustre/llite/lproc_llite.c
  • lnet/include/libcfs/linux/kp30.h
  • lnet/include/libcfs/darwin/kp30.h
  • lustre/obdclass/obd_mount.c
  • lnet/klnds/gmlnd/gmlnd_comm.c
  • lnet/include/libcfs/winnt/kp30.h
  • lustre/obdclass/class_obd.c
  • lustre/include/darwin/lustre_user.h
  • lnet/autoconf/lustre-lnet.m4
  • lustre/llite/rw26.c
  • lustre/lvfs/fsfilt_ext3.c
  • lustre/llite/file.c
  • lustre/mds/mds_join.c
Comment by Peter Jones [ 25/Mar/11 ]

Niu

Does the version of the patch passed upstream to Oracle for landing need updating? I expect to see it landed soon...

Peter

Comment by Niu Yawei (Inactive) [ 25/Mar/11 ]

No, there isn't change, I just re-push it for passing the build. (originally, the build will fail on ubuntu for some other bug which Brian was working on)

Comment by Peter Jones [ 25/Mar/11 ]

Good - thanks for confirming!

Comment by Peter Jones [ 28/Mar/11 ]

Niu,

Landing permission has been granted by Oracle for this change. Can you please send the patch to lustre-gate-18@sun.com

Thanks

Peter

Comment by Peter Jones [ 30/Mar/11 ]

Oracle have landed this change upstream for 1.8.6 and it is already landed for master so mark as resolve

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