• Bryant G. Ly's avatar
    tcmu: Fix dev_config_store · de8c5221
    Bryant G. Ly authored
    Currently when there is a reconfig, the uio_info->name
    does not get updated to reflect the change in the dev_config
    name change.
    
    On restart tcmu-runner there will be a mismatch between
    the dev_config string in uio and the tcmu structure that contains
    the string. When this occurs it'll reload the one in uio
    and you lose the reconfigured device path.
    
    v2: Created a helper function for the updating of uio_info
    Signed-off-by: default avatarBryant G. Ly <bryantly@linux.vnet.ibm.com>
    Signed-off-by: default avatarNicholas Bellinger <nab@linux-iscsi.org>
    de8c5221
target_core_user.c 51.5 KB