Whamcloud - gitweb
LU-13253 libcfs: protect libcfs_debug_dumplog() 88/37588/3
authorAlex Zhuravlev <bzzz@whamcloud.com>
Sat, 15 Feb 2020 06:16:15 +0000 (09:16 +0300)
committerOleg Drokin <green@whamcloud.com>
Thu, 5 Mar 2020 22:36:47 +0000 (22:36 +0000)
commitcfba9a1ecc6b20746c289afc8e3c81097e07d8a3
tree578be33674aba7db20ecdd20f0a92335b296ad65
parent9016356a288cb3365ba69c4f287406aa7ebdf97a
LU-13253 libcfs: protect libcfs_debug_dumplog()

as it uses global state to wait for dumping thread completion and
it doesn't make sense to dump concurrently.

Signed-off-by: Alex Zhuravlev <bzzz@whamcloud.com>
Change-Id: Ie6916a0bb53a0a3aa8992413811fe7a908f86276
Reviewed-on: https://review.whamcloud.com/37588
Tested-by: jenkins <devops@whamcloud.com>
Reviewed-by: Neil Brown <neilb@suse.de>
Reviewed-by: James Simmons <jsimmons@infradead.org>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
libcfs/libcfs/debug.c