Whamcloud - gitweb
LU-8066 utils: have llapi_target_iterate use sysfs tree 81/34781/5
authorJames Simmons <jsimmons@infradead.org>
Tue, 25 Jun 2019 13:29:07 +0000 (09:29 -0400)
committerOleg Drokin <green@whamcloud.com>
Wed, 3 Jul 2019 03:23:22 +0000 (03:23 +0000)
commitf35d0fd92c063aa2b0c4d937c45dfc25729df550
tree3c04f88b1a5557830c71cded02b5c366529aa412
parent8a8ce94397a06abf096b490c2362dea509995cdb
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/34781
Tested-by: Jenkins
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Olaf Faaland-LLNL <faaland1@llnl.gov>
lustre/utils/liblustreapi.c