Whamcloud - gitweb
LU-9859 libcfs: add "default" keyword for debug mask 51/46251/3
authorAndreas Dilger <adilger@whamcloud.com>
Fri, 21 Jan 2022 07:20:56 +0000 (00:20 -0700)
committerOleg Drokin <green@whamcloud.com>
Sat, 11 Jun 2022 05:33:16 +0000 (05:33 +0000)
commit4c9a5762413638cc630b1facfb565dcd765fce1e
tree6e32025522161a4288c49996e47e15e110b9b56e
parent085311dc739903f751d11dc4244aea6316ccb7bd
LU-9859 libcfs: add "default" keyword for debug mask

Allow "lctl set_param debug=default" to reset the debug mask to
the default value.  This is useful if the debug needs to be set
to a higher value temporarily, but should be easily reset back
to the original value afterward.

Signed-off-by: Andreas Dilger <adilger@whamcloud.com>
Change-Id: I7d0d8fb81e51afb5ea6f29abea0d0814de3ebbe5
Reviewed-on: https://review.whamcloud.com/46251
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Jian Yu <yujian@whamcloud.com>
Reviewed-by: Arshad Hussain <arshad.hussain@aeoncomputing.com>
Reviewed-by: Neil Brown <neilb@suse.de>
Reviewed-by: James Simmons <jsimmons@infradead.org>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
libcfs/include/libcfs/libcfs_string.h
libcfs/libcfs/debug.c
libcfs/libcfs/libcfs_string.c
lnet/include/uapi/linux/lnet/libcfs_debug.h
lustre/mdd/mdd_device.c
lustre/mdd/mdd_lproc.c