]> www.infradead.org Git - users/sagi/nvme-cli.git/commit
fabrics: Add support for volatile configuration
authorDaniel Wagner <dwagner@suse.de>
Wed, 14 Jun 2023 12:10:51 +0000 (14:10 +0200)
committerDaniel Wagner <wagi@monom.org>
Thu, 22 Jun 2023 12:31:09 +0000 (14:31 +0200)
commit2ba17c8a5d2268e26f649615b4cd3926e87e60a2
treefe3a59242417abc8f3f682d359710d0494b1b210
parentf60bca79ce94b3abde0e4c1d3f22c41e51a2e413
fabrics: Add support for volatile configuration

The fabric resources are global resources and as such should only
modified by one component. So far nvme-cli was the only component
managing connections. With the introduction of nvme-stas we need to
coordinate the access to these resources.

Introduce access coordination feature which allows the external software
to drop volatile configurations files into the /var/nvme directory.

When nvme-cli ls executed(e.g. via the udev rules), the execution
context is evaluated and only resources which belong the application are
considered.

Signed-off-by: Daniel Wagner <dwagner@suse.de>
fabrics.c
meson.build
meson_options.txt