[LU-4527] lfs option deprecation uses LUSTRE_VERSION which isn't defined anywhere Created: 22/Jan/14  Updated: 10/Apr/14  Resolved: 10/Apr/14

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

Type: Bug Priority: Minor
Reporter: John Hammond Assignee: Andreas Dilger
Resolution: Fixed Votes: 0
Labels: lfs, uitls

Severity: 3
Rank (Obsolete): 12383

 Description   
  File                      Function               Line
0 lustre/utils/lctl.c       <global>                138 #if LUSTRE_VERSION >= OBD_OCD_VERSION(3,0,53,0)
1 lustre/utils/lfs.c        <global>                 71 #ifdef LUSTRE_VERSION
2 lustre/utils/lfs.c        <global>                 72 #error LUSTRE_VERSION
3 lustre/utils/lfs.c        lfs_setstripe           579 #if LUSTRE_VERSION >= OBD_OCD_VERSION(2,9,50,0)
4 lustre/utils/lfs.c        lfs_setstripe           590 #if LUSTRE_VERSION >= OBD_OCD_VERSION(2,9,50,0)
5 lustre/utils/lfs.c        lfs_setstripe           600 #if LUSTRE_VERSION >= OBD_OCD_VERSION(2,9,50,0)
6 lustre/utils/lfs.c        lfs_setstripe           609 #if LUSTRE_VERSION >= OBD_OCD_VERSION(2,9,50,0)
7 lustre/utils/lfs.c        lfs_setstripe           629 #if LUSTRE_VERSION < OBD_OCD_VERSION(2,4,50,0)
8 lustre/utils/lfs.c        lfs_setstripe           656 #if LUSTRE_VERSION >= OBD_OCD_VERSION(2,9,50,0)
9 lustre/utils/lfs.c        lfs_setstripe           658 #elif LUSTRE_VERSION >= OBD_OCD_VERSION(2,6,50,0)
a lustre/utils/lfs.c        lfs_setstripe           670 #if LUSTRE_VERSION >= OBD_OCD_VERSION(2,4,50,0)
b lustre/utils/lfs.c        lfs_setstripe           680 #if LUSTRE_VERSION >= OBD_OCD_VERSION(2,9,50,0)
c lustre/utils/lfs.c        lfs_setstripe           682 #elif LUSTRE_VERSION >= OBD_OCD_VERSION(2,6,50,0)
d lustre/utils/lfs.c        lfs_setstripe           690 #if LUSTRE_VERSION >= OBD_OCD_VERSION(2,9,50,0)
e lustre/utils/lfs.c        lfs_setstripe           692 #elif LUSTRE_VERSION >= OBD_OCD_VERSION(2,6,50,0)
f lustre/utils/lfs.c        lfs_getstripe_internal 1240 #if LUSTRE_VERSION >= OBD_OCD_VERSION(2,9,50,0)
g lustre/utils/lfs.c        lfs_getstripe_internal 1252 #if LUSTRE_VERSION >= OBD_OCD_VERSION(2,9,50,0)
h lustre/utils/lfs.c        lfs_getstripe_internal 1265 #if LUSTRE_VERSION >= OBD_OCD_VERSION(2,9,50,0)
i lustre/utils/lfs.c        lfs_getstripe_internal 1279 #if LUSTRE_VERSION >= OBD_OCD_VERSION(2,9,50,0)
j lustre/utils/lfs.c        lfs_getstripe_internal 1321 #if LUSTRE_VERSION >= OBD_OCD_VERSION(2,9,50,0)
k lustre/utils/lfs.c        lfs_getstripe_internal 1323 #elif LUSTRE_VERSION >= OBD_OCD_VERSION(2,6,50,0)
l lustre/utils/lfs.c        lfs_getstripe_internal 1334 #if LUSTRE_VERSION >= OBD_OCD_VERSION(2,9,50,0)
m lustre/utils/lfs.c        lfs_getstripe_internal 1336 #elif LUSTRE_VERSION >= OBD_OCD_VERSION(2,6,50,0)
n lustre/utils/lfs.c        lfs_getstripe_internal 1347 #if LUSTRE_VERSION >= OBD_OCD_VERSION(2,4,50,0)
o lustre/utils/lfs.c        lfs_getstripe_internal 1357 #if LUSTRE_VERSION >= OBD_OCD_VERSION(2,9,50,0)
p lustre/utils/lfs.c        lfs_getstripe_internal 1359 #elif LUSTRE_VERSION >= OBD_OCD_VERSION(2,6,50,0)
q lustre/utils/lustre_cfg.c jt_lcfg_mgsparam        556 #if LUSTRE_VERSION >= OBD_OCD_VERSION(2,7,53,0)

LUSTRE_VERSION_CODE was meant.



 Comments   
Comment by Andreas Dilger [ 23/Jan/14 ]

I have a patch that fixes most of these issues already: http://review.whamcloud.com/8631

I'd be obliged if it could be updated to the latest master and use this LU-4527 ticket instead of the old LU-611 ticket that I originally developed it under (which has since been closed).

Comment by Bob Glossman (Inactive) [ 23/Jan/14 ]

rebased on current master, updated the commit header, pushed for review.

Comment by John Fuchs-Chesney (Inactive) [ 09/Apr/14 ]

Looks like the patch landed Feb 2, 2014.
Can we mark this as resolved, fixed?
Thanks,
~ jfc.

Comment by Bob Glossman (Inactive) [ 09/Apr/14 ]

fine with me to mark it fixed. patch was most recently rebased before landing by Andreas. he may have an opinion.

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