Searched refs:s_journal (Results 1 – 20 of 20) sorted by relevance
638 if (sbi->s_journal && !is_journal_aborted(sbi->s_journal)) { in ext4_shutdown()640 jbd2_journal_abort(sbi->s_journal, -ESHUTDOWN); in ext4_shutdown()645 if (sbi->s_journal && !is_journal_aborted(sbi->s_journal)) in ext4_shutdown()646 jbd2_journal_abort(sbi->s_journal, -ESHUTDOWN); in ext4_shutdown()761 if (EXT4_SB(sb)->s_journal) { in ext4_ioctl_group_add()762 jbd2_journal_lock_updates(EXT4_SB(sb)->s_journal); in ext4_ioctl_group_add()763 err2 = jbd2_journal_flush(EXT4_SB(sb)->s_journal); in ext4_ioctl_group_add()764 jbd2_journal_unlock_updates(EXT4_SB(sb)->s_journal); in ext4_ioctl_group_add()943 if (EXT4_SB(sb)->s_journal) { in __ext4_ioctl()944 jbd2_journal_lock_updates(EXT4_SB(sb)->s_journal); in __ext4_ioctl()[all …]
637 journal_t *journal = EXT4_SB(sb)->s_journal; in ext4_handle_error()690 journal_t *journal = sbi->s_journal; in flush_stashed_error_work()848 if (!sb || (EXT4_SB(sb)->s_journal && in ext4_decode_error()849 EXT4_SB(sb)->s_journal->j_flags & JBD2_ABORT)) in ext4_decode_error()1184 if (sbi->s_journal) { in ext4_put_super()1185 aborted = is_journal_aborted(sbi->s_journal); in ext4_put_super()1186 err = jbd2_journal_destroy(sbi->s_journal); in ext4_put_super()1187 sbi->s_journal = NULL; in ext4_put_super()2308 if (!sbi->s_journal) in handle_mount_opt()2681 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()
76 journal = EXT4_SB(sb)->s_journal; in ext4_journal_check_start()102 journal = EXT4_SB(sb)->s_journal; in __ext4_journal_start_sb()
408 if (*err == -EBUSY && retries++ < 4 && EXT4_SB(sb)->s_journal && in move_extent_per_page()409 jbd2_journal_force_commit_nested(EXT4_SB(sb)->s_journal)) in move_extent_per_page()
138 if (!sbi->s_journal) in journal_task_show()141 task_pid_vnr(sbi->s_journal->j_task)); in journal_task_show()
605 int bsize = sbi->s_journal->j_blocksize; in ext4_fc_reserve_space()622 ret = jbd2_fc_get_buf(EXT4_SB(sb)->s_journal, &bh); in ext4_fc_reserve_space()644 ret = jbd2_fc_get_buf(EXT4_SB(sb)->s_journal, &bh); in ext4_fc_reserve_space()674 int off, bsize = sbi->s_journal->j_blocksize; in ext4_fc_write_tail()693 tail.fc_tid = cpu_to_le32(sbi->s_journal->j_running_transaction->t_tid); in ext4_fc_write_tail()1055 sbi->s_journal->j_running_transaction->t_tid); in ext4_fc_perform_commit()
658 if (!sbi->s_journal) in ext4_should_retry_alloc()679 (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)
207 journal_t *journal = EXT4_SB(inode->i_sb)->s_journal; in ext4_evict_inode()2901 if (ret == -ENOSPC && sbi->s_journal) { in ext4_writepages()2907 jbd2_journal_force_commit_nested(sbi->s_journal); in ext4_writepages()3331 journal_t *journal = EXT4_SB(inode->i_sb)->s_journal; in ext4_inode_datasync_dirty()4165 if (ei->jinode || !EXT4_SB(inode->i_sb)->s_journal) in ext4_inode_attach_jinode()4777 journal_t *journal = EXT4_SB(sb)->s_journal; in __ext4_iget()5270 if (EXT4_SB(inode->i_sb)->s_journal) { in ext4_write_inode()5285 err = ext4_fc_commit(EXT4_SB(inode->i_sb)->s_journal, in ext4_write_inode()5318 journal_t *journal = EXT4_SB(inode->i_sb)->s_journal; in ext4_wait_for_tail_page_commit()
234 WARN_ON(!io_end->handle && sbi->s_journal); in ext4_add_complete_io()
719 bool check_recently_deleted = EXT4_SB(sb)->s_journal == NULL; in find_inode_bit()994 if (!handle && sbi->s_journal && !(i_flags & EXT4_EA_INODE_FL)) { in __ext4_new_inode()
259 journal_t *journal = EXT4_SB(sb)->s_journal; in ext4_getfsmap_logdev()
3023 if (!sbi->s_journal || is_bad_inode(inode)) in ext4_orphan_add()3110 if (!sbi->s_journal && !(sbi->s_mount_state & EXT4_ORPHAN_FS)) in ext4_orphan_del()
4771 if (file->f_flags & O_SYNC && EXT4_SB(inode->i_sb)->s_journal) { in ext4_fallocate()4772 ret = ext4_fc_commit(EXT4_SB(inode->i_sb)->s_journal, in ext4_fallocate()
2457 if (!EXT4_SB(inode->i_sb)->s_journal) in ext4_xattr_set_credits()
1480 struct journal_s *s_journal; member
124 (le32_to_cpu((sbp)->s_v1.s_journal.jp_journal_1st_block))126 ((sbp)->s_v1.s_journal.jp_journal_1st_block = cpu_to_le32(v))128 (le32_to_cpu((sbp)->s_v1.s_journal.jp_journal_dev))130 ((sbp)->s_v1.s_journal.jp_journal_dev = cpu_to_le32(v))132 (le32_to_cpu((sbp)->s_v1.s_journal.jp_journal_size))134 ((sbp)->s_v1.s_journal.jp_journal_size = cpu_to_le32(v))136 (le32_to_cpu((sbp)->s_v1.s_journal.jp_journal_trans_max))138 ((sbp)->s_v1.s_journal.jp_journal_trans_max = cpu_to_le32(v))140 (le32_to_cpu((sbp)->s_v1.s_journal.jp_journal_magic))142 ((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()