Motr  M0
m0_conf_fdmi_filter Struct Reference

#include <obj.h>

Collaboration diagram for m0_conf_fdmi_filter:
Collaboration graph

Data Fields

struct m0_conf_obj ff_obj
 
enum m0_fdmi_filter_type_id ff_type
 
struct m0_fid ff_filter_id
 
struct m0_fdmi_filter ff_filter
 
struct m0_conf_nodeff_node
 
struct m0_conf_pverff_dix_pver
 
const char ** ff_substrings
 
const char ** ff_endpoints
 
struct m0_tlink ff_linkage
 
uint64_t ff_magic
 

Detailed Description

Definition at line 727 of file obj.h.

Field Documentation

◆ ff_dix_pver

struct m0_conf_pver* ff_dix_pver

DIX pool version to search kv pairs for substrings for. The filter would match a CAS operation iff the pool version for the operation matches. It's only used when ff_type == M0_FDMI_FILTER_TYPE_KV_SUBSTRING.

Definition at line 740 of file obj.h.

◆ ff_endpoints

const char** ff_endpoints

Endpoints which are interested in FDMI records matched with this filter.

NULL-terminated array of C strings.

Note
Currently only one endpoint can be in this array.

Definition at line 760 of file obj.h.

◆ ff_filter

struct m0_fdmi_filter ff_filter

Definition at line 731 of file obj.h.

◆ ff_filter_id

struct m0_fid ff_filter_id

Definition at line 730 of file obj.h.

◆ ff_linkage

struct m0_tlink ff_linkage

Definition at line 761 of file obj.h.

◆ ff_magic

uint64_t ff_magic

Definition at line 762 of file obj.h.

◆ ff_node

struct m0_conf_node* ff_node

The node this filter is hosted at.

Definition at line 733 of file obj.h.

◆ ff_obj

struct m0_conf_obj ff_obj

Definition at line 728 of file obj.h.

◆ ff_substrings

const char** ff_substrings

Substrings to match for M0_FDMI_FILTER_TYPE_KV_SUBSTRING filter. The filter would match iff all the substrings are present in the value of CAS kv pair. All the pairs in the request would be sent to FDMI plugin in this case, regardless of if other kv pairs in the CAS request match the filter. It might be no string to match, in this case this field should be a pointer to a single NULL value and every FDMI record will match it.

NULL-terminated array of C strings.

See also
m0_bufs_to_strings().

Definition at line 752 of file obj.h.

◆ ff_type

enum m0_fdmi_filter_type_id ff_type

Definition at line 729 of file obj.h.


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