Whamcloud - gitweb
LU-6142 obd: remove OBP and MDP macros 39/51739/2
authorTimothy Day <timday@amazon.com>
Fri, 21 Jul 2023 20:16:03 +0000 (20:16 +0000)
committerOleg Drokin <green@whamcloud.com>
Tue, 1 Aug 2023 06:14:03 +0000 (06:14 +0000)
commit738c96f8e2575635ca17b394454958a7748bc3e4
treeaf26780e3f79e633df85600b355a1f3de787d957
parente70193cf8be57afda14c1df7a0e46cff462b461b
LU-6142 obd: remove OBP and MDP macros

These macros save very little space, make it harder
to understand the code (by adding one more thing to
remember) and make it impossible to grep for
o_* and m_* functions. Luckily, they are only used in
a few places. So, remove them and all references.

Test-Parameters: trivial
Signed-off-by: Timothy Day <timday@amazon.com>
Change-Id: I4c23199ca53c906ca190a81ffdf916ff6cff9a0b
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/51739
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Neil Brown <neilb@suse.de>
Reviewed-by: James Simmons <jsimmons@infradead.org>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/include/obd_class.h
lustre/ldlm/ldlm_lib.c
lustre/obdclass/obd_config.c
lustre/target/tgt_mount.c