Motr
M0
|
#include <rm.h>
Data Fields | |
enum m0_rm_outgoing_type | rog_type |
int32_t | rog_rc |
struct m0_rm_loan | rog_want |
bool | rog_sent |
uint64_t | rog_magix |
An outgoing request is created on behalf of some incoming request to track the state of credit transfer with some remote domain.
An outgoing request is created to:
Before a new outgoing request is created, a list of already existing outgoing requests (m0_rm_owner::ro_outgoing) is scanned. If an outgoing request of a matching type for a greater or equal credit exists, new request is not created. Instead, the incoming request pins existing outgoing request.
m0_rm_outgoing fields and state transitions are protected by the owner's mutex.
bool rog_sent |
enum m0_rm_outgoing_type rog_type |
struct m0_rm_loan rog_want |