Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(2)  |  Call(2)  |  Derive(0)  |  Import(0)

src/x/c/xcp-storage-managers-HEAD/drivers/mpathutil.py   xcp-storage-managers(Download)
def wait_for_multipathd():
    for i in range(0,120):
        if mpath_cli.is_working():
            return
        time.sleep(1)

src/x/c/xcp-storage-managers-HEAD/drivers/mpath_dmp.py   xcp-storage-managers(Download)
 
    for i in range(0,120):
        if mpath_cli.is_working():
            util.SMlog("MPATH: dm-multipath activated.")
            return