Whamcloud - gitweb
LU-8837 lustre: move lu_tgt_pool out of obd_target.h 51/41951/7
authorMr NeilBrown <neilb@suse.de>
Sun, 18 Apr 2021 00:32:13 +0000 (20:32 -0400)
committerOleg Drokin <green@whamcloud.com>
Wed, 28 Apr 2021 02:10:56 +0000 (02:10 +0000)
commit5a8dc02609ace484079a66c13e9e35c04af7f06c
tree3e194d9697f3ee7b7add9f2db571df0ccac36d86
parent6c5e6dd777a49ab06c38b880990b15393509ca87
LU-8837 lustre: move lu_tgt_pool out of obd_target.h

'struct lu_tgt_pool' is the only part of obd_target.h that is needed
on the client.
So move it and related declarations to lu_object.h.
Then obd_target.h does not need to be included by lu_object.h,
and it will only be included server-side;

Test-Parameters: trivial
Signed-off-by: Mr NeilBrown <neilb@suse.de>
Change-Id: Ia578d766fb7fae6ae2fbcfa651fe5b5264b1ff14
Reviewed-on: https://review.whamcloud.com/41951
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: James Simmons <jsimmons@infradead.org>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/include/lu_object.h
lustre/include/lu_target.h
lustre/include/obd_target.h
lustre/obdclass/lu_tgt_pool.c