Lines Matching refs:s_journal
653 journal_t *journal = EXT4_SB(sb)->s_journal; in ext4_handle_error()
706 journal_t *journal = sbi->s_journal; in flush_stashed_error_work()
872 if (!sb || (EXT4_SB(sb)->s_journal && in ext4_decode_error()
873 EXT4_SB(sb)->s_journal->j_flags & JBD2_ABORT)) in ext4_decode_error()
1218 if (sbi->s_journal) { in ext4_put_super()
1219 aborted = is_journal_aborted(sbi->s_journal); in ext4_put_super()
1220 err = jbd2_journal_destroy(sbi->s_journal); in ext4_put_super()
1221 sbi->s_journal = NULL; in ext4_put_super()
2737 if (!sbi->s_journal) { in ext4_check_opt_consistency()
3043 if (!sbi->s_journal) in ext4_setup_super()
3049 if (sbi->s_journal) { in ext4_setup_super()
4025 jbd2_journal_clear_features(sbi->s_journal, in set_journal_csum_feature_set()
4030 ret = jbd2_journal_set_features(sbi->s_journal, in set_journal_csum_feature_set()
4035 ret = jbd2_journal_set_features(sbi->s_journal, in set_journal_csum_feature_set()
4038 jbd2_journal_clear_features(sbi->s_journal, 0, 0, in set_journal_csum_feature_set()
4041 jbd2_journal_clear_features(sbi->s_journal, 0, 0, in set_journal_csum_feature_set()
4167 if (sbi->s_journal && !sbi->s_journal_bdev) in ext4_calculate_overhead()
4168 overhead += EXT4_NUM_B2C(sbi, sbi->s_journal->j_total_len); in ext4_calculate_overhead()
4169 else if (ext4_has_feature_journal(sb) && !sbi->s_journal && j_inum) { in ext4_calculate_overhead()
4222 if (EXT4_SB(sb)->s_journal && ext4_is_quota_journalled(sb)) in ext4_quota_mode()
4813 !jbd2_journal_set_features(EXT4_SB(sb)->s_journal, 0, 0, in ext4_load_and_init_journal()
4826 !jbd2_journal_set_features(EXT4_SB(sb)->s_journal, 0, 0, in ext4_load_and_init_journal()
4842 (sbi->s_journal, 0, 0, JBD2_FEATURE_INCOMPAT_REVOKE)) { in ext4_load_and_init_journal()
4854 (sbi->s_journal, 0, 0, JBD2_FEATURE_INCOMPAT_REVOKE)) { in ext4_load_and_init_journal()
4871 set_task_ioprio(sbi->s_journal->j_task, ctx->journal_ioprio); in ext4_load_and_init_journal()
4873 sbi->s_journal->j_submit_inode_data_buffers = in ext4_load_and_init_journal()
4875 sbi->s_journal->j_finish_inode_data_buffers = in ext4_load_and_init_journal()
4883 jbd2_journal_destroy(sbi->s_journal); in ext4_load_and_init_journal()
4884 sbi->s_journal = NULL; in ext4_load_and_init_journal()
5318 sbi->s_journal = NULL; in __ext4_fill_super()
5447 if (sbi->s_journal) in __ext4_fill_super()
5448 sbi->s_journal->j_commit_callback = in __ext4_fill_super()
5590 if (sbi->s_journal) { in __ext4_fill_super()
5593 jbd2_journal_destroy(sbi->s_journal); in __ext4_fill_super()
5594 sbi->s_journal = NULL; in __ext4_fill_super()
5649 if (sbi->s_journal) { in ext4_fill_super()
5945 EXT4_SB(sb)->s_journal = journal; in ext4_load_journal()
5948 EXT4_SB(sb)->s_journal = NULL; in ext4_load_journal()
6102 journal_t *journal = EXT4_SB(sb)->s_journal; in ext4_mark_recovery_complete()
6150 journal = EXT4_SB(sb)->s_journal; in ext4_clear_journal_err()
6187 journal = EXT4_SB(sb)->s_journal; in ext4_force_commit()
6213 if (sbi->s_journal) { in ext4_sync_fs()
6214 target = jbd2_get_latest_transaction(sbi->s_journal); in ext4_sync_fs()
6215 if (wait && sbi->s_journal->j_flags & JBD2_BARRIER && in ext4_sync_fs()
6216 !jbd2_trans_will_send_data_barrier(sbi->s_journal, target)) in ext4_sync_fs()
6219 if (jbd2_journal_start_commit(sbi->s_journal, &target)) { in ext4_sync_fs()
6221 ret = jbd2_log_wait_commit(sbi->s_journal, in ext4_sync_fs()
6252 journal = EXT4_SB(sb)->s_journal; in ext4_freeze()
6289 if (EXT4_SB(sb)->s_journal) { in ext4_unfreeze()
6357 if (sbi->s_journal && sbi->s_journal->j_task->io_context) in __ext4_remount()
6359 sbi->s_journal->j_task->io_context->ioprio; in __ext4_remount()
6410 if (sbi->s_journal) { in __ext4_remount()
6411 ext4_init_journal_params(sb, sbi->s_journal); in __ext4_remount()
6412 set_task_ioprio(sbi->s_journal->j_task, ctx->journal_ioprio); in __ext4_remount()
6447 if (sbi->s_journal) { in __ext4_remount()
6499 if (sbi->s_journal) { in __ext4_remount()
6547 if (sbi->s_journal == NULL && !(old_sb_flags & SB_RDONLY)) { in __ext4_remount()
6847 if (EXT4_SB(sb)->s_journal && in ext4_quota_on()
6853 jbd2_journal_lock_updates(EXT4_SB(sb)->s_journal); in ext4_quota_on()
6854 err = jbd2_journal_flush(EXT4_SB(sb)->s_journal, 0); in ext4_quota_on()
6855 jbd2_journal_unlock_updates(EXT4_SB(sb)->s_journal); in ext4_quota_on()