Motr  M0

#include <plugin_dock.h>

Collaboration diagram for m0_fdmi_pd_ops:
Collaboration graph

Data Fields

int(* fpo_register_filter )(const struct m0_fid *fid, const struct m0_fdmi_filter_desc *desc, const struct m0_fdmi_plugin_ops *pcb)
 
void(* fpo_enable_filters )(bool enable, struct m0_fid *filter_ids, uint32_t filter_count)
 
void(* fpo_release_fdmi_rec )(struct m0_uint128 *rec_id, struct m0_fid *filter_id)
 
void(* fpo_deregister_plugin )(struct m0_fid *filter_ids, uint64_t filter_count)
 

Detailed Description

FDMI private plugin dock api interface

Definition at line 124 of file plugin_dock.h.

Field Documentation

◆ fpo_deregister_plugin

void(* fpo_deregister_plugin) (struct m0_fid *filter_ids, uint64_t filter_count)

Plugin deregistration callback

  • Plugin deregistration results in announcing the plugin dead across the whole Motr cluster, implying corresponding filters to be announced dead as well

Definition at line 157 of file plugin_dock.h.

◆ fpo_enable_filters

void(* fpo_enable_filters) (bool enable, struct m0_fid *filter_ids, uint32_t filter_count)

Filter bulk activation/deactivation callback.

Definition at line 138 of file plugin_dock.h.

◆ fpo_register_filter

int(* fpo_register_filter) (const struct m0_fid *fid, const struct m0_fdmi_filter_desc *desc, const struct m0_fdmi_plugin_ops *pcb)

Filter description registration callback

  • WARNING: It's not enough to just register filter, as it remains inactive until being activated explicitly (see m0_fdmi_pd_if::fpi_enable_filters() callback)

Definition at line 131 of file plugin_dock.h.

◆ fpo_release_fdmi_rec

void(* fpo_release_fdmi_rec) (struct m0_uint128 *rec_id, struct m0_fid *filter_id)

FDMI record release callback

  • Intended for indication the fact that the record may be released by source. Actual release command is sent when there is no plugin still holding the record due to some lengthy processing

Definition at line 148 of file plugin_dock.h.


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