From af94e4b7afd3fa724d161a5127dc9a89d898e73c Mon Sep 17 00:00:00 2001 From: Mikhail Pershin Date: Thu, 15 Mar 2018 22:30:39 +0300 Subject: [PATCH] LU-10804 echo: allow echo server to setup procfs 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 Change-Id: I7a1bf7de3d7c3202e6da7545da63979555ce6624 Reviewed-on: https://review.whamcloud.com/31664 Tested-by: Jenkins Reviewed-by: Andreas Dilger Tested-by: Andreas Dilger Reviewed-by: Fan Yong Tested-by: Maloo Reviewed-by: Dmitry Eremin Reviewed-by: Elena Gryaznova Reviewed-by: James Simmons --- lustre/obdecho/echo_client.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lustre/obdecho/echo_client.c b/lustre/obdecho/echo_client.c index 41d2b3e..8feb288 100644 --- a/lustre/obdecho/echo_client.c +++ b/lustre/obdecho/echo_client.c @@ -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; -- 1.8.3.1