Have a look at quorum_co_flush():

            quorum_report_bad(QUORUM_OP_TYPE_FLUSH, 0,
                              bdrv_getlength(s->children[i]->bs),
                              s->children[i]->bs->node_name, result);

bdrv_getlength() can fail.  Does it do the right thing then?

Reply via email to