• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/fs/ocfs2/

Lines Matching refs:journal

61 #include "journal.h"
287 "Journal", osb->journal->j_state,
288 osb->journal->j_trans_id,
289 atomic_read(&osb->journal->j_num_trans));
411 if (jbd2_journal_start_commit(OCFS2_SB(sb)->journal->j_journal,
414 jbd2_log_wait_commit(OCFS2_SB(sb)->journal->j_journal,
2001 struct ocfs2_journal *journal;
2172 /* initialize our journal structure */
2174 journal = kzalloc(sizeof(struct ocfs2_journal), GFP_KERNEL);
2175 if (!journal) {
2176 mlog(ML_ERROR, "unable to alloc journal\n");
2180 osb->journal = journal;
2181 journal->j_osb = osb;
2183 atomic_set(&journal->j_num_trans, 0);
2184 init_rwsem(&journal->j_trans_barrier);
2185 init_waitqueue_head(&journal->j_checkpointed);
2186 spin_lock_init(&journal->j_lock);
2187 journal->j_trans_id = (unsigned long) 1;
2188 INIT_LIST_HEAD(&journal->j_la_cleanups);
2189 INIT_WORK(&journal->j_recovery_work, ocfs2_complete_recovery);
2190 journal->j_state = OCFS2_JOURNAL_FREE;
2368 /* Init our journal object. */
2369 status = ocfs2_journal_init(osb->journal, &dirty);
2371 mlog(ML_ERROR, "Could not initialize journal!\n");
2375 /* If the journal was unmounted cleanly then we don't want to
2379 status = ocfs2_journal_wipe(osb->journal, 0);
2391 /* will play back anything left in the journal. */
2392 status = ocfs2_journal_load(osb->journal, local, dirty);
2394 mlog(ML_ERROR, "ocfs2 journal load failed! %d\n", status);
2427 /* go through each journal, trylock it and if you get the
2464 kfree(osb->journal);
2519 * ocfs2_handle_error, so we only use for things like journal errors,
2539 * TODO: This should abort the journal and alert other nodes