Whamcloud - gitweb
LU-8066 utils: have llapi_target_iterate use sysfs tree 99/33799/16
authorJames Simmons <uja.ornl@yahoo.com>
Fri, 22 Feb 2019 15:41:34 +0000 (10:41 -0500)
committerOleg Drokin <green@whamcloud.com>
Sun, 3 Mar 2019 00:20:55 +0000 (00:20 +0000)
commitb24d69492b818457d9da0d6dce3adc0f91f18ec6
treea34e7b8e22bdc9e7b972ab544a4f97abc7850f93
parent915b16cf1278026a9f914f268e8cdfb578d929c4
LU-8066 utils: have llapi_target_iterate use sysfs tree

Update llapi_target_iterate() to not use 'devices' but collect the
data from the lustre sysfs tree itself.

Change-Id: If100b4918bdcc8b24e72f37127048a32a808310f
Signed-off-by: James Simmons <uja.ornl@yahoo.com>
Reviewed-on: https://review.whamcloud.com/33799
Tested-by: Jenkins
Reviewed-by: Yang Sheng <ys@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/utils/liblustreapi.c