> + if (*free_bytes < need_bytes) { > + if (!woken_task) > + xlog_grant_push_ail(log, need_bytes); > return false; > + } It would be nice to have a comment here with the condensed wisdom from the commit log.
> + if (*free_bytes < need_bytes) { > + if (!woken_task) > + xlog_grant_push_ail(log, need_bytes); > return false; > + } It would be nice to have a comment here with the condensed wisdom from the commit log.