]> www.infradead.org Git - users/sagi/nvme-cli.git/commit
fabrics: Introduce force flag to overwrite persistence logic
authorDaniel Wagner <dwagner@suse.de>
Thu, 24 Mar 2022 18:27:01 +0000 (19:27 +0100)
committerDaniel Wagner <dwagner@suse.de>
Thu, 31 Mar 2022 13:31:49 +0000 (15:31 +0200)
commita9fdf3146814de86482b4af31b27832c0f5f963c
treec4b3d398d0604664125f550f3582955d77aeb809
parent035685930ab526ef1de45e9c7bac2618747b83c1
fabrics: Introduce force flag to overwrite persistence logic

The persistence flag will be overwritten by the built in logic. Allow
the user to overwrite this by providing a force command line option.

While at it make the 'discover_from_config_file' path behave as the
'nvmf_discover' path. The idea here is that whenever a matching
persistent discovery controller is present just use this one. Only
create a new discovery controller when none matching found or
we are asked to do so via --force.

Signed-off-by: Daniel Wagner <dwagner@suse.de>
Documentation/nvme-discover.txt
common.h
fabrics.c