def METHOD_NAME(dump_path, result_dict):
    cmd = "lsof -w %s/* |awk '/libvirt_i/{print $2}'" % dump_path
    start_time = time.time()
    while (time.time() - start_time) < 30:
        ret = process.run(cmd, shell=True, ignore_status=True)
        status, iohelper_pid = ret.exit_status, ret.stdout_text.strip()
        if status:
            time.sleep(0.1)
            continue
        if not len(iohelper_pid):
            continue
        else:
            logging.info('pid: %s', iohelper_pid)
            result_dict['pid'] = iohelper_pid
            break
    # Get file open flags containing bypass cache information.
    with open('/proc/%s/fdinfo/1' % iohelper_pid, 'r') as fdinfo:
        flags = 0
        for line in fdinfo.readlines():
            if line.startswith('flags:'):
                flags = int(line.split()[1], 8)
                logging.debug('file open flag is: %o', flags)
    result_dict['flags'] = flags
    with open('/proc/%s/cmdline' % iohelper_pid) as cmdinfo:
        cmdline = cmdinfo.readline()
        logging.debug(cmdline.split())