Whamcloud - gitweb
LU-12578 obdecho: reuse an cl env cache for obdecho survey 00/35700/3
authorAlexey Lyashkov <c17817@cray.com>
Tue, 6 Aug 2019 06:55:46 +0000 (09:55 +0300)
committerOleg Drokin <green@whamcloud.com>
Thu, 15 Aug 2019 07:55:18 +0000 (07:55 +0000)
commit55c33b70c46fde1b62f9852dc361d382a7722009
tree9879904e3f89bef47a02d5e3af11952b919162e9
parent7d0db895b524410ddac146f80d764be4c0ad2f46
LU-12578 obdecho: reuse an cl env cache for obdecho survey

obdecho enviroment is already CL_thread type, so
easy to reuse cl_env cache instead of allocate env on each
ioctl call. It reduce cpu usage dramatically.

Cray-bug-id: LUS-7552
Signed-off-by: Alexey Lyashkov <c17817@cray.com>
Change-Id: Id4b36626233be6b65efc4daef649bf0ef97c2e60
Reviewed-on: https://review.whamcloud.com/35700
Tested-by: jenkins <devops@whamcloud.com>
Reviewed-by: Alex Zhuravlev <bzzz@whamcloud.com>
Reviewed-by: Shaun Tancheff <stancheff@cray.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/obdclass/cl_object.c
lustre/obdclass/lu_object.c
lustre/obdecho/echo_client.c