Go to the source code of this file.
◆ __MOTR_DTM0_DRLINK_H__
#define __MOTR_DTM0_DRLINK_H__ |
◆ m0_dtm0_req_post()
Asynchronously send a DTM0 message to a remote DTM0 service.
- Parameters
-
svc | local DTM0 service. |
op | BE op to wait for completion. Could be NULL. |
req | DTM0 message to be sent. |
tgt | FID of the remote DTM0 service. |
parent_fom | FOM that caused this DTM0 message (used by ADDB). |
wait_for_ack | Determines whether the local service should wait for a reply from the counterpart. NOTE: it has nothing to do with blocking API. It just lets the FOM to revolve one more time. TODO: This flag will likely be removed after testing with HA. TODO: Add a co_op or clink to support blocking mode. |
- Returns
- An error is returned if there is not enough resources (-ENOMEM) or if the remote service does not exist in the conf cache (-ENOENT).
Asynchronously send a DTM0 message to a remote DTM0 service.
- Parameters
-
svc | local DTM0 service. |
req | DTM0 message to be sent. |
tgt | FID of the remote DTM0 service. |
parent_fom | FOM that caused this DTM0 message (used by ADDB). |
wait_for_ack | Determines whether the local service should wait for a reply from the counterpart. TODO: this may be converted into a proper clink and/or co_op later. |
- Returns
- An error is returned if there is not enough resources (-ENOMEM) or if the remote service does not exist in the conf cache (-ENOENT).
Definition at line 536 of file drlink.c.
◆ m0_dtm0_rpc_link_mod_fini()
M0_INTERNAL void m0_dtm0_rpc_link_mod_fini |
( |
void |
| ) |
|
◆ m0_dtm0_rpc_link_mod_init()
M0_INTERNAL int m0_dtm0_rpc_link_mod_init |
( |
void |
| ) |
|