libnvme_set_owner(9)

NAME
libnvme_set_owner - Set the orchestrator identity for the registry

SYNOPSIS
int libnvme_set_owner (struct libnvme_global_ctx *ctx , const char *owner );

ARGUMENTS

ctx struct libnvme_global_ctx object

owner
    Orchestrator identity string (e.g. "stas", "nbft").

DESCRIPTION
Records the orchestrator identity used when claiming registry ownership of connections made through ctx. A later call overwrites the previous value; treating the identity as immutable is a policy decision left to the caller. A process that does not participate in the registry simply never calls this. This is the supported way to record the registry owner; libnvme_create_global_ctx deliberately takes no owner parameter.

RETURN
0 on success, -EINVAL or -ENOMEM on error.