Whamcloud - gitweb
LU-4587 utils: remove llapi_ping_target() 66/10566/3
authorJohn L. Hammond <john.hammond@intel.com>
Tue, 3 Jun 2014 07:04:51 +0000 (02:04 -0500)
committerOleg Drokin <oleg.drokin@intel.com>
Mon, 16 Jun 2014 14:04:57 +0000 (14:04 +0000)
commit122aaddbf14fd89aa86b0595774695fb96d661e7
treec933285f01d3f8cc656984dfaa582d1ea9201e63
parent0d92e17afa7ff7024d3e18268a2e1a89cba4d5bd
LU-4587 utils: remove llapi_ping_target()

Remove llapi_ping_target(). This ioctl() based function was prototyped
in lustreapi.h but not provided by lustreapi. Replace its only use (in
lfs) with the equivalent /proc based function llapi_target_check(),
which is provided by lustreapi. Remove the now unnecessary calls to
ptl_initialize(), obd_initialize() and obd_finalize() in lfs main().

Signed-off-by: John L. Hammond <john.hammond@intel.com>
Change-Id: I02d7ea706f02827bbd4bd1b9bf0d216b0e2c131b
Reviewed-on: http://review.whamcloud.com/10566
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Emoly Liu <emoly.liu@intel.com>
Reviewed-by: Yang Sheng <yang.sheng@intel.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Reviewed-by: James Simmons <uja.ornl@gmail.com>
lustre/include/lustre/lustreapi.h
lustre/utils/Makefile.am
lustre/utils/lfs.c
lustre/utils/obd.c