Whamcloud - gitweb
LU-9859 libcfs: add "default" keyword for debug mask 72/49872/2
authorAndreas Dilger <adilger@whamcloud.com>
Fri, 21 Jan 2022 07:20:56 +0000 (00:20 -0700)
committerOleg Drokin <green@whamcloud.com>
Sat, 20 May 2023 07:09:18 +0000 (07:09 +0000)
commit6d40d733e093a736ee40fb9fa281615b81f8c7be
treeb0130e0c59fe2a069ff1501271b40f48bc50e71e
parenta4e89bffe67e161556bf309c8971d3fdf1a10430
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.

Lustre-change: https://review.whamcloud.com/46251
Lustre-commit: 4c9a5762413638cc630b1facfb565dcd765fce1e

Signed-off-by: Andreas Dilger <adilger@whamcloud.com>
Change-Id: I7d0d8fb81e51afb5ea6f29abea0d0814de3ebbe5
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-on: https://review.whamcloud.com/c/fs/lustre-release/+/49872
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
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