avoid the need for changes when UUIDs move around.
/* rpc/client.c */
void ptlrpc_init_client(struct recovd_obd *, int req_portal, int rep_portal,
struct ptlrpc_client *);
+__u8 *ptlrpc_req_to_uuid(struct ptlrpc_request *req);
struct ptlrpc_connection *ptlrpc_uuid_to_connection(char *uuid);
int ptlrpc_queue_wait(struct ptlrpc_request *req);
struct ptlrpc_request *ptlrpc_prep_req(struct ptlrpc_client *cl,
sema_init(&cl->cli_rpc_sem, 32);
}
+__u8 *ptlrpc_req_to_uuid(struct ptlrpc_request *req)
+{
+ return req->rq_connection->c_remote_uuid;
+}
+
struct ptlrpc_connection *ptlrpc_uuid_to_connection(char *uuid)
{
struct ptlrpc_connection *c;