[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. |