NAME
libnvmf_exclusion_add - append an entry to a named list (atomic write).
SYNOPSIS
int libnvmf_exclusion_add (struct libnvme_global_ctx *ctx , const char *name , const char *entry );
ARGUMENTS
- ctx
-
libnvme global context; must not be NULL
- name
-
list name
- entry
-
semicolon-separated key=value string (e.g. "transport=tcp;traddr=192.168.1.1")
DESCRIPTION
Creates the list if it does not exist. Validates the entry for unknown keys before writing; returns -EINVAL if the entry is invalid.
RETURN
0 on success, negative errno otherwise.