Whamcloud - gitweb
LU-8066 utils: have llapi_target_iterate use sysfs tree 82/34782/2
authorJames Simmons <uja.ornl@yahoo.com>
Fri, 22 Feb 2019 15:41:34 +0000 (10:41 -0500)
committerOleg Drokin <green@whamcloud.com>
Sat, 11 May 2019 19:23:28 +0000 (19:23 +0000)
commite55cd4f1245dc5678fd2b2f6a6c49a72c3a416e9
tree12df3361fe5dd699aff5da46dc700b74f0618140
parent61375705a9bed2527c87b93e71705e8012a58682
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.

Lustre-change: https://review.whamcloud.com/33799
Lustre-commit: b24d69492b818457d9da0d6dce3adc0f91f18ec6

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