Whamcloud - gitweb
LU-11986 lnet: properly cleanup lnet debugfs files 92/34692/3
authorJames Simmons <uja.ornl@yahoo.com>
Mon, 15 Apr 2019 23:16:27 +0000 (19:16 -0400)
committerOleg Drokin <green@whamcloud.com>
Mon, 22 Apr 2019 21:56:56 +0000 (21:56 +0000)
commit9d42660e173e5b9a2683f412fc8a756094c6f1b4
tree6c645f9b84319e9423e45106263c84521b7b5431
parent9cbefa99f234586c1419243a4d2c136e4f405b29
LU-11986 lnet: properly cleanup lnet debugfs files

The function lnet_router_debugfs_remove() is suppose to cleanup
the lnet specific debugfs files but that is not happening at all.
Change lnet_remove_debugfs() from doing the final debugfs lnet
and libcfs cleanup to doing specific debugfs file removal. We
can make libcfs module unloading to directly finish the entire
libcfs and debugfs tree removal instead. With this change we can
make lnet_router_debugfs_fini() call lnet_remove_debugfs().

Lustre-change: https://review.whamcloud.com/34669/
Lustre-commit: 8cb7ccf54e2d34010bea9a71fe0eff708545ab78

Change-Id: I9e314e7efde806073b621166ff2e1b344e550875
Signed-off-by: James Simmons <uja.ornl@yahoo.com>
Signed-off-by: Minh Diep <mdiep@whamcloud.com>
Reviewed-on: https://review.whamcloud.com/34692
Tested-by: Jenkins
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Sonia Sharma <sharmaso@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
libcfs/include/libcfs/libcfs.h
libcfs/libcfs/module.c
lnet/lnet/api-ni.c
lnet/lnet/router_proc.c