void journal_commit_transaction(journal_t *journal)
{
err = journal_submit_data_buffers(journal, commit_transaction,
write_op);//先刷数据
while (commit_transaction->t_buffers) {
descriptor = journal_get_descriptor_buffer(journal);
=>struct journal_head *journal_get_descriptor_buffer(journal_t *journal)
{
err = journal_next_log_block(journal, &blocknr);//获取日志块
}
}
}