[LU-4587] lfs should not depend on lnetctl or obdctl Created: 05/Feb/14  Updated: 16/Jun/14  Resolved: 16/Jun/14

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

Type: Improvement Priority: Minor
Reporter: John Hammond Assignee: John Hammond
Resolution: Fixed Votes: 0
Labels: RoDC, cleanup, lfs

Rank (Obsolete): 12534

 Description   

lfs main() calls ptl_initialize() and obd_initialize() (and lfs.c includes lnetctl.h and obdctl.h) but lfs does not use any of the obdctl or lnetctl functionality. Also should check if lfs uses anything from lustre_cfg.c.

lfs_SOURCES = lfs.c obd.c lustre_cfg.c
lfs_LDADD := liblustreapi.a $(LIBPTLCTL) $(PTHREAD_LIBS) $(LIBREADLINE)
lfs_DEPENDENCIES := $(LIBPTLCTL) liblustreapi.a


 Comments   
Comment by John Hammond [ 03/Jun/14 ]

Please see http://review.whamcloud.com/10566.

Comment by John Hammond [ 16/Jun/14 ]

Patch landed to master.

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