Whamcloud - gitweb
LU-14353 obd: move debug.c to obdecho 90/41290/2
authorMr NeilBrown <neilb@suse.de>
Fri, 30 Oct 2020 04:18:21 +0000 (15:18 +1100)
committerOleg Drokin <green@whamcloud.com>
Fri, 26 Feb 2021 21:07:22 +0000 (21:07 +0000)
commit8fc5fc5889c052c3d0ed58da0333dc30e33080e8
tree1b648306db053be7e99416a0aea6540ebcf5528e
parentc2fd5297b46c4973aeda4d4d02cbc7ca2faa0d50
LU-14353 obd: move debug.c to obdecho

The code in obdclass/debug.c is only used from obdecho/, so move the
file there and clean it up a little on the way (e.g. spaces to TABs).

Similarly lustre_debug.h contains very little that is used outside of
obdecho.  Move that little (LL_CDEBUG_PAGE()) into lustre_lib.h, and
add the declarations needed for debug.c into echo_internal.h.

Test-Parameters: trivial
Signed-off-by: Mr NeilBrown <neilb@suse.de>
Change-Id: Ia1bcf3f3e1453130ed1adc75918bdad23eb5b5c7
Reviewed-on: https://review.whamcloud.com/41290
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: James Simmons <jsimmons@infradead.org>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
14 files changed:
lustre/include/Makefile.am
lustre/include/lustre_debug.h [deleted file]
lustre/include/lustre_lib.h
lustre/llite/llite_internal.h
lustre/obdclass/Makefile.in
lustre/obdclass/class_obd.c
lustre/obdclass/debug.c [deleted file]
lustre/obdecho/Makefile.in
lustre/obdecho/debug.c [new file with mode: 0644]
lustre/obdecho/echo.c
lustre/obdecho/echo_client.c
lustre/obdecho/echo_internal.h
lustre/osc/osc_request.c
lustre/ptlrpc/layout.c