#define DEBUG_SUBSYSTEM S_RPC
+#include <linux/obd_support.h>
#include <linux/lustre_net.h>
extern ptl_handle_eq_t request_out_eq, reply_in_eq, reply_out_eq,
bulk_source_eq, bulk_sink_eq;
-static ptl_process_id_t local_id = {PTL_ID_ANY, PTL_ID_ANY};
+static ptl_process_id_t local_id = {PTL_NID_ANY, PTL_PID_ANY};
int ptlrpc_check_bulk_sent(struct ptlrpc_bulk_desc *bulk)
{
{
/* FIXME: we need to increment the count of handled events */
req->rq_type = PTL_RPC_TYPE_REPLY;
- req->rq_repmsg->conn = req->rq_connection->c_remote_conn;
- req->rq_repmsg->token = req->rq_connection->c_remote_token;
+ //req->rq_repmsg->conn = req->rq_connection->c_remote_conn;
+ //req->rq_repmsg->token = req->rq_connection->c_remote_token;
req->rq_repmsg->status = HTON__u32(req->rq_status);
req->rq_reqmsg->type = HTON__u32(req->rq_type);
return ptl_send_buf(req, req->rq_connection, svc->srv_rep_portal);