Motr  M0
m0_rm_incoming_ops Struct Reference

#include <rm.h>

Collaboration diagram for m0_rm_incoming_ops:
Collaboration graph

Data Fields

void(* rio_complete )(struct m0_rm_incoming *in, int32_t rc)
 
void(* rio_conflict )(struct m0_rm_incoming *in)
 

Detailed Description

Operation assigned by a resource manager user to an incoming request. Resource manager calls methods in this operation vector when events related to the request happen. Therefore no RM functions should be called in methods of this operation vector since resource manager state is undefined.

Definition at line 1488 of file rm.h.

Field Documentation

◆ rio_complete

void(* rio_complete) (struct m0_rm_incoming *in, int32_t rc)

This is called when incoming request processing completes either successfully (rc == 0) or with an error (-ve rc).

Definition at line 1493 of file rm.h.

◆ rio_conflict

void(* rio_conflict) (struct m0_rm_incoming *in)

This is called when a request arrives that conflicts with the credit held by this incoming request.

Definition at line 1498 of file rm.h.


The documentation for this struct was generated from the following file: