• Ben Swartzlander's avatar
    Add wait loop for multipath devices to appear · 39e52dda
    Ben Swartzlander authored
    It takes a variable amount of time for the multipath daemon
    to create /dev/dm-XX in response to new LUNs being discovered.
    The old iscsi_util code only discovered the multipath device
    if it was created quickly enough, but in a significant number
    of cases, kubelet would grab one of the individual paths and
    put a filesystem it on before multipathd could construct a
    multipath device.
    
    This change waits for the multipath device to get created for
    up to 10 seconds, but only if the PV actually had more than
    one portal.
    39e52dda
Name
Last commit
Last update
..
BUILD Loading commit data...
OWNERS Loading commit data...
attacher.go Loading commit data...
disk_manager.go Loading commit data...
doc.go Loading commit data...
iscsi.go Loading commit data...
iscsi_test.go Loading commit data...
iscsi_util.go Loading commit data...
iscsi_util_test.go Loading commit data...