Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
LU-3751 ost: disable OUT_PORTAL request handler on OST.
[fs/lustre-release.git]
/
lustre
/
ost
/
ost_handler.c
diff --git
a/lustre/ost/ost_handler.c
b/lustre/ost/ost_handler.c
index
7880341
..
405d69c
100644
(file)
--- 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);
}
GOTO(out_io, rc);
}
+#if 0
/* Object update service */
memset(&svc_conf, 0, sizeof(svc_conf));
svc_conf = (typeof(svc_conf)) {
/* 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);
}
ost->ost_out_service = NULL;
GOTO(out_seq, rc);
}
+#endif
ping_evictor_start();
RETURN(0);
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;
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);
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);
ptlrpc_unregister_service(ost->ost_out_service);
+#endif
ost->ost_service = NULL;
ost->ost_create_service = NULL;
ost->ost_io_service = NULL;
ost->ost_service = NULL;
ost->ost_create_service = NULL;
ost->ost_io_service = NULL;