You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
nvme_update_config is used to dump the current configuration to the
either stdout or a config file. There is also nvme_dump_config which
does almost the same thing. The only difference is that
nvme_update_config is testing if the something has been modified.
The modified tracking happens on a global level and almost all
operations on the tree will set the modified flag. This is actually not
really needed. nvme-cli uses for the 'config' command which expects
that the config is updated. One could argue that the config should not
be written when nothing changes. But this could be done in a different
way, e.g. create a temp config and compare it to the original and only
overwrite the original if something changes. But no one complained that
the config is overwritten all the time so far (remember the modified
flag is almost certainly always set).
Signed-off-by: Daniel Wagner <[email protected]>
0 commit comments