NAME
libnvmf_exclusion_match - check whether a controller matches any exclusion entry.
SYNOPSIS
bool libnvmf_exclusion_match (struct libnvme_global_ctx *ctx , const struct libnvmf_tid *tid );
ARGUMENTS
- ctx
-
libnvme global context; must not be NULL
- tid
-
Transport ID identifying the controller. All fields are optional; NULL means "this connection has no value for this field".
DESCRIPTION
Re-reads the exclusion directory on every call (no caching). Entries with unknown keys never match (fail-safe).
RETURN
true if any exclusion entry matches, false otherwise. Returns false (not excluded / fail-open) if the directory cannot be read.