Whamcloud - gitweb
LU-10444 utils: Don't remount debugfs every time 00/30900/2
authorOleg Drokin <oleg.drokin@intel.com>
Sat, 30 Dec 2017 03:16:30 +0000 (22:16 -0500)
committerJohn L. Hammond <john.hammond@intel.com>
Fri, 9 Feb 2018 18:07:52 +0000 (18:07 +0000)
commit82bf22a4200ba657465302daf6a77b9ebd6b7853
treeb3a6f8f3758464909a53f026e5915a8eb31e112f
parentb5073eb0234e02892d22c5dead4a3a8a3da065bd
LU-10444 utils: Don't remount debugfs every time

Check if debugfs is mounted at /sys/kernel/debug and only
mount if it is not.

Lustre-change: https://review.whamcloud.com/30675
Lustre-commit: 767f03b161ae44bd9d33dae7e03e71e73852813f

Change-Id: Ib31bd8f7c5c93ab942c6708ed3a4d17a11159e95
Signed-off-by: Oleg Drokin <oleg.drokin@intel.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Reviewed-by: Bob Glossman <bob.glossman@intel.com>
Reviewed-by: James Simmons <uja.ornl@yahoo.com>
Signed-off-by: Minh Diep <minh.diep@intel.com>
Reviewed-on: https://review.whamcloud.com/30900
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: John L. Hammond <john.hammond@intel.com>
libcfs/libcfs/util/param.c