From: wang di Date: Tue, 13 Aug 2013 07:00:23 +0000 (-0700) Subject: LU-3751 ost: disable OUT_PORTAL request handler on OST. X-Git-Tag: 2.4.92~40 X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=commitdiff_plain;h=7eb9b5de99d4205fc4e83549728df8a53176ca70;hp=345683b05ad07e537fed1c65a04296c767558d0d LU-3751 ost: disable OUT_PORTAL request handler on OST. Disable OUT_PORTAL request handler on OST for now, otherwise it will confuse the connect requests from another MDT, when MDTs and OSTs are all in the same node. Signed-off-by: wang di Change-Id: Ifcbfabaa52537e1664086e335b07a6f179b17f2d Reviewed-on: http://review.whamcloud.com/7323 Reviewed-by: John L. Hammond Tested-by: Hudson Reviewed-by: Mike Pershin Tested-by: Maloo Reviewed-by: Andreas Dilger --- diff --git a/lustre/ost/ost_handler.c b/lustre/ost/ost_handler.c index 7880341..405d69c 100644 --- a/lustre/ost/ost_handler.c +++ b/lustre/ost/ost_handler.c @@ -2787,6 +2787,7 @@ static int ost_setup(struct obd_device *obd, struct lustre_cfg* lcfg) GOTO(out_io, rc); } +#if 0 /* Object update service */ memset(&svc_conf, 0, sizeof(svc_conf)); svc_conf = (typeof(svc_conf)) { @@ -2831,12 +2832,10 @@ static int ost_setup(struct obd_device *obd, struct lustre_cfg* lcfg) ost->ost_out_service = NULL; GOTO(out_seq, rc); } +#endif ping_evictor_start(); RETURN(0); -out_seq: - ptlrpc_unregister_service(ost->ost_seq_service); - ost->ost_seq_service = NULL; out_io: ptlrpc_unregister_service(ost->ost_io_service); ost->ost_io_service = NULL; @@ -2867,7 +2866,9 @@ static int ost_cleanup(struct obd_device *obd) ptlrpc_unregister_service(ost->ost_create_service); ptlrpc_unregister_service(ost->ost_io_service); ptlrpc_unregister_service(ost->ost_seq_service); +#if 0 ptlrpc_unregister_service(ost->ost_out_service); +#endif ost->ost_service = NULL; ost->ost_create_service = NULL; ost->ost_io_service = NULL;