do_endio
do_endio(ic, bio);
do_endio(ic, flushes);
bool do_endio = false;
do_endio = true;
if (head_sh->batch_head && do_endio)