can currently pin at most one request buffer, and with six OST threads it was
trivial to pin both request buffers and exhaust our RPC handling ability.
#define LDLM_CLI_REPLY_PORTAL 18
/* default rpc ring length */
-#define RPC_RING_LENGTH 2
+#define RPC_RING_LENGTH 10
#define SVC_KILLED 1
#define SVC_EVENT 2
GOTO(err_put, rc);
}
- mds->mds_service = ptlrpc_init_svc(128 * 1024,
+ mds->mds_service = ptlrpc_init_svc(64 * 1024,
MDS_REQUEST_PORTAL, MDC_REPLY_PORTAL, "self", mds_handle);
if (!mds->mds_service) {
CERROR("failed to start service\n");
if (obddev->obd_namespace == NULL)
LBUG();
- ost->ost_service = ptlrpc_init_svc(128 * 1024,
+ ost->ost_service = ptlrpc_init_svc(64 * 1024,
OST_REQUEST_PORTAL, OSC_REPLY_PORTAL,
"self", ost_handle);
if (!ost->ost_service) {