Whamcloud - gitweb
LU-10804 echo: allow echo server to setup procfs 64/31664/4
authorMikhail Pershin <mike.pershin@intel.com>
Thu, 15 Mar 2018 19:30:39 +0000 (22:30 +0300)
committerOleg Drokin <oleg.drokin@intel.com>
Sat, 17 Mar 2018 05:13:34 +0000 (05:13 +0000)
Restore lprocfs init for echo server. It is still using
procfs for stats.

Fixes: 0100ab268c3120aa84847a88a2493988f38dee6b
Test-Parameters: trivial envdefinitions=SLOW=yes testlist=obdfilter-survey osscount=1 ostcount=4 mdscount=1 mdtcount=1
Signed-off-by: Mikhail Pershin <mike.pershin@intel.com>
Change-Id: I7a1bf7de3d7c3202e6da7545da63979555ce6624
Reviewed-on: https://review.whamcloud.com/31664
Tested-by: Jenkins
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Tested-by: Andreas Dilger <andreas.dilger@intel.com>
Reviewed-by: Fan Yong <fan.yong@intel.com>
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Dmitry Eremin <dmitry.eremin@intel.com>
Reviewed-by: Elena Gryaznova <c17455@cray.com>
Reviewed-by: James Simmons <uja.ornl@yahoo.com>
lustre/obdecho/echo_client.c

index 41d2b3e..8feb288 100644 (file)
@@ -3071,7 +3071,7 @@ static int __init obdecho_init(void)
         if (rc != 0)
                 goto failed_0;
 
-       rc = class_register_type(&echo_obd_ops, NULL, false, NULL,
+       rc = class_register_type(&echo_obd_ops, NULL, true, NULL,
                                 LUSTRE_ECHO_NAME, NULL);
        if (rc != 0)
                goto failed_1;