static int megasas_cache_flush(MegasasState *s, MegasasCmd *cmd)

{

    bdrv_drain_all();

    return MFI_STAT_OK;

}

static int megasas_cache_flush(MegasasState *s, MegasasCmd *cmd)

{

    bdrv_drain_all();

    return MFI_STAT_OK;

}

static int FUNC_0(MegasasState *VAR_0, MegasasCmd *VAR_1)

{

    bdrv_drain_all();

    return MFI_STAT_OK;

}

static int FUNC_0(MegasasState *VAR_0, MegasasCmd *VAR_1)
{ bdrv_drain_all(); return MFI_STAT_OK; }