Searched refs:s_journal (Results 1 – 20 of 20) sorted by relevance
826 if (sbi->s_journal && !is_journal_aborted(sbi->s_journal)) { in ext4_shutdown()828 jbd2_journal_abort(sbi->s_journal, -ESHUTDOWN); in ext4_shutdown()833 if (sbi->s_journal && !is_journal_aborted(sbi->s_journal)) in ext4_shutdown()834 jbd2_journal_abort(sbi->s_journal, -ESHUTDOWN); in ext4_shutdown()948 if (EXT4_SB(sb)->s_journal) { in ext4_ioctl_group_add()949 jbd2_journal_lock_updates(EXT4_SB(sb)->s_journal); in ext4_ioctl_group_add()950 err2 = jbd2_journal_flush(EXT4_SB(sb)->s_journal, 0); in ext4_ioctl_group_add()951 jbd2_journal_unlock_updates(EXT4_SB(sb)->s_journal); in ext4_ioctl_group_add()1063 if (!EXT4_SB(sb)->s_journal) in ext4_ioctl_checkpoint()1067 !bdev_max_discard_sectors(EXT4_SB(sb)->s_journal->j_dev)) in ext4_ioctl_checkpoint()[all …]
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()[all …]
108 journal_t *journal = EXT4_SB(inode->i_sb)->s_journal; in ext4_fsync_journal()169 if (!sbi->s_journal) in ext4_sync_file()
350 read_lock(&sbi->s_journal->j_state_lock); in ext4_fc_mark_ineligible()351 tid = sbi->s_journal->j_running_transaction ? in ext4_fc_mark_ineligible()352 sbi->s_journal->j_running_transaction->t_tid : 0; in ext4_fc_mark_ineligible()353 read_unlock(&sbi->s_journal->j_state_lock); in ext4_fc_mark_ineligible()401 (sbi->s_journal->j_flags & JBD2_FULL_COMMIT_ONGOING || in ext4_fc_track_template()402 sbi->s_journal->j_flags & JBD2_FAST_COMMIT_ONGOING) ? in ext4_fc_track_template()464 if (sbi->s_journal->j_flags & JBD2_FULL_COMMIT_ONGOING || in __track_dentry_update()465 sbi->s_journal->j_flags & JBD2_FAST_COMMIT_ONGOING) in __track_dentry_update()715 int bsize = sbi->s_journal->j_blocksize; in ext4_fc_reserve_space()728 ret = jbd2_fc_get_buf(EXT4_SB(sb)->s_journal, &bh); in ext4_fc_reserve_space()[all …]
76 journal = EXT4_SB(sb)->s_journal; in ext4_journal_check_start()102 journal = EXT4_SB(sb)->s_journal; in __ext4_journal_start_sb()
410 if (*err == -EBUSY && retries++ < 4 && EXT4_SB(sb)->s_journal && in move_extent_per_page()411 jbd2_journal_force_commit_nested(EXT4_SB(sb)->s_journal)) in move_extent_per_page()
107 if (!sbi->s_journal || is_bad_inode(inode)) in ext4_orphan_add()236 if (!sbi->s_journal && !(sbi->s_mount_state & EXT4_ORPHAN_FS)) in ext4_orphan_del()
132 if (!sbi->s_journal) in journal_task_show()135 task_pid_vnr(sbi->s_journal->j_task)); in journal_task_show()
643 if (!sbi->s_journal) in ext4_should_retry_alloc()670 (void) jbd2_journal_force_commit_nested(sbi->s_journal); in ext4_should_retry_alloc()
19 #define EXT4_JOURNAL(inode) (EXT4_SB((inode)->i_sb)->s_journal)
204 journal_t *journal = EXT4_SB(inode->i_sb)->s_journal; in ext4_evict_inode()2877 if (ret == -ENOSPC && sbi->s_journal) { in ext4_writepages()2883 jbd2_journal_force_commit_nested(sbi->s_journal); in ext4_writepages()3305 journal_t *journal = EXT4_SB(inode->i_sb)->s_journal; in ext4_inode_datasync_dirty()4154 if (ei->jinode || !EXT4_SB(inode->i_sb)->s_journal) in ext4_inode_attach_jinode()4767 journal_t *journal = EXT4_SB(sb)->s_journal; in __ext4_iget()5259 if (EXT4_SB(inode->i_sb)->s_journal) { in ext4_write_inode()5274 err = ext4_fc_commit(EXT4_SB(inode->i_sb)->s_journal, in ext4_write_inode()5306 journal_t *journal = EXT4_SB(inode->i_sb)->s_journal; in ext4_wait_for_tail_page_commit()
231 WARN_ON(!io_end->handle && sbi->s_journal); in ext4_add_complete_io()
259 journal_t *journal = EXT4_SB(sb)->s_journal; in ext4_getfsmap_logdev()
720 bool check_recently_deleted = EXT4_SB(sb)->s_journal == NULL; in find_inode_bit()996 if (!handle && sbi->s_journal && !(i_flags & EXT4_EA_INODE_FL)) { in __ext4_new_inode()
4762 if (file->f_flags & O_SYNC && EXT4_SB(inode->i_sb)->s_journal) { in ext4_fallocate()4763 ret = ext4_fc_commit(EXT4_SB(inode->i_sb)->s_journal, in ext4_fallocate()
1560 struct journal_s *s_journal; member
2439 if (!EXT4_SB(inode->i_sb)->s_journal) in ext4_xattr_set_credits()
122 (le32_to_cpu((sbp)->s_v1.s_journal.jp_journal_1st_block))124 ((sbp)->s_v1.s_journal.jp_journal_1st_block = cpu_to_le32(v))126 (le32_to_cpu((sbp)->s_v1.s_journal.jp_journal_dev))128 ((sbp)->s_v1.s_journal.jp_journal_dev = cpu_to_le32(v))130 (le32_to_cpu((sbp)->s_v1.s_journal.jp_journal_size))132 ((sbp)->s_v1.s_journal.jp_journal_size = cpu_to_le32(v))134 (le32_to_cpu((sbp)->s_v1.s_journal.jp_journal_trans_max))136 ((sbp)->s_v1.s_journal.jp_journal_trans_max = cpu_to_le32(v))138 (le32_to_cpu((sbp)->s_v1.s_journal.jp_journal_magic))140 ((sbp)->s_v1.s_journal.jp_journal_magic = cpu_to_le32(v))[all …]
68 #define JF( x ) ( r -> s_journal -> x )312 struct journal_params *jp = &rs->s_v1.s_journal; in show_journal()372 atomic_read(&r->s_journal->j_wcount), in show_journal()
90 s = sbi->s_journal->j_work_sb; in flush_old_commits()