| /linux/fs/jbd2/ |
| H A D | journal.c | 3 * linux/fs/jbd2/journal.c 9 * Generic filesystem journal-writing code; part of the ext2fs 16 * We do not actually manage the physical storage of the journal in this 17 * file: that is left to a per-journal policy function, which allows us 18 * to store the journal within a filesystem-specified area for ext2 136 journal_t *journal = timer_container_of(journal, t, j_commit_timer); in commit_timeout() local 138 wake_up_process(journal->j_task); in commit_timeout() 143 * journal. 148 * filesystem to disk. The journal threa 161 journal_t *journal = arg; kjournald2() local 256 jbd2_journal_start_thread(journal_t * journal) jbd2_journal_start_thread() argument 269 journal_kill_thread(journal_t * journal) journal_kill_thread() argument 332 journal_t *journal = transaction->t_journal; jbd2_journal_write_metadata_buffer() local 449 __jbd2_log_start_commit(journal_t * journal,tid_t target) __jbd2_log_start_commit() argument 486 jbd2_log_start_commit(journal_t * journal,tid_t tid) jbd2_log_start_commit() argument 503 __jbd2_journal_force_commit(journal_t * journal) __jbd2_journal_force_commit() argument 543 jbd2_journal_force_commit_nested(journal_t * journal) jbd2_journal_force_commit_nested() argument 558 jbd2_journal_force_commit(journal_t * journal) jbd2_journal_force_commit() argument 574 jbd2_journal_start_commit(journal_t * journal,tid_t * ptid) jbd2_journal_start_commit() argument 607 jbd2_trans_will_send_data_barrier(journal_t * journal,tid_t tid) jbd2_trans_will_send_data_barrier() argument 656 jbd2_log_wait_commit(journal_t * journal,tid_t tid) jbd2_log_wait_commit() argument 705 jbd2_fc_begin_commit(journal_t * journal,tid_t tid) jbd2_fc_begin_commit() argument 744 __jbd2_fc_end_commit(journal_t * journal,tid_t tid,bool fallback) __jbd2_fc_end_commit() argument 759 jbd2_fc_end_commit(journal_t * journal) jbd2_fc_end_commit() argument 765 jbd2_fc_end_commit_fallback(journal_t * journal) jbd2_fc_end_commit_fallback() argument 778 jbd2_transaction_committed(journal_t * journal,tid_t tid) jbd2_transaction_committed() argument 791 jbd2_complete_transaction(journal_t * journal,tid_t tid) jbd2_complete_transaction() argument 819 jbd2_journal_next_log_block(journal_t * journal,unsigned long long * retp) jbd2_journal_next_log_block() argument 836 jbd2_fc_get_buf(journal_t * journal,struct buffer_head ** bh_out) jbd2_fc_get_buf() argument 872 jbd2_fc_wait_bufs(journal_t * journal,int num_blks) jbd2_fc_wait_bufs() argument 902 jbd2_fc_release_bufs(journal_t * journal) jbd2_fc_release_bufs() argument 926 jbd2_journal_bmap(journal_t * journal,unsigned long blocknr,unsigned long long * retp) jbd2_journal_bmap() argument 969 journal_t *journal = transaction->t_journal; jbd2_journal_get_descriptor_buffer() local 1021 jbd2_journal_get_log_tail(journal_t * journal,tid_t * tid,unsigned long * block) jbd2_journal_get_log_tail() argument 1060 __jbd2_update_log_tail(journal_t * journal,tid_t tid,unsigned long block) __jbd2_update_log_tail() argument 1102 jbd2_update_log_tail(journal_t * journal,tid_t tid,unsigned long block) jbd2_update_log_tail() argument 1111 journal_t *journal; global() member 1178 journal_t *journal = pde_data(inode); jbd2_seq_info_open() local 1226 jbd2_stats_proc_init(journal_t * journal) jbd2_stats_proc_init() argument 1235 jbd2_stats_proc_exit(journal_t * journal) jbd2_stats_proc_exit() argument 1262 journal_t *journal = shrink->private_data; jbd2_journal_shrink_scan() local 1288 journal_t *journal = shrink->private_data; jbd2_journal_shrink_count() local 1302 journal_fail_superblock(journal_t * journal) journal_fail_superblock() argument 1313 journal_check_superblock(journal_t * journal) journal_check_superblock() argument 1401 journal_revoke_records_per_block(journal_t * journal) journal_revoke_records_per_block() argument 1416 jbd2_journal_get_max_txn_bufs(journal_t * journal) jbd2_journal_get_max_txn_bufs() argument 1424 jbd2_descriptor_blocks_per_trans(journal_t * journal) jbd2_descriptor_blocks_per_trans() argument 1448 jbd2_journal_init_transaction_limits(journal_t * journal) jbd2_journal_init_transaction_limits() argument 1462 journal_load_superblock(journal_t * journal) journal_load_superblock() argument 1528 journal_t *journal; journal_init_common() local 1649 journal_t *journal; jbd2_journal_init_dev() local 1673 journal_t *journal; jbd2_journal_init_inode() local 1710 journal_reset(journal_t * journal) journal_reset() argument 1788 jbd2_write_superblock(journal_t * journal,blk_opf_t write_flags) jbd2_write_superblock() argument 1854 jbd2_journal_update_sb_log_tail(journal_t * journal,tid_t tail_tid,unsigned long tail_block,blk_opf_t write_flags) jbd2_journal_update_sb_log_tail() argument 1898 jbd2_mark_journal_empty(journal_t * journal,blk_opf_t write_flags) jbd2_mark_journal_empty() argument 1948 __jbd2_journal_erase(journal_t * journal,unsigned int flags) __jbd2_journal_erase() argument 2042 jbd2_journal_update_sb_errno(journal_t * journal) jbd2_journal_update_sb_errno() argument 2066 jbd2_journal_load(journal_t * journal) jbd2_journal_load() argument 2111 jbd2_journal_destroy(journal_t * journal) jbd2_journal_destroy() argument 2205 jbd2_journal_check_used_features(journal_t * journal,unsigned long compat,unsigned long ro,unsigned long incompat) jbd2_journal_check_used_features() argument 2236 jbd2_journal_check_available_features(journal_t * journal,unsigned long compat,unsigned long ro,unsigned long incompat) jbd2_journal_check_available_features() argument 2254 jbd2_journal_initialize_fast_commit(journal_t * journal) jbd2_journal_initialize_fast_commit() argument 2293 jbd2_journal_set_features(journal_t * journal,unsigned long compat,unsigned long ro,unsigned long incompat) jbd2_journal_set_features() argument 2376 jbd2_journal_clear_features(journal_t * journal,unsigned long compat,unsigned long ro,unsigned long incompat) jbd2_journal_clear_features() argument 2415 jbd2_journal_flush(journal_t * journal,unsigned int flags) jbd2_journal_flush() argument 2498 jbd2_journal_wipe(journal_t * journal,int write) jbd2_journal_wipe() argument 2562 jbd2_journal_abort(journal_t * journal,int errno) jbd2_journal_abort() argument 2623 jbd2_journal_errno(journal_t * journal) jbd2_journal_errno() argument 2643 jbd2_journal_clear_err(journal_t * journal) jbd2_journal_clear_err() argument 2663 jbd2_journal_ack_err(journal_t * journal) jbd2_journal_ack_err() argument 2680 journal_tag_bytes(journal_t * journal) journal_tag_bytes() argument 2925 jbd2_journal_release_jbd_inode(journal_t * journal,struct jbd2_inode * jinode) jbd2_journal_release_jbd_inode() argument [all...] |
| H A D | checkpoint.c | 44 * __jbd2_log_wait_for_space: wait until there is space in the journal. 49 void __jbd2_log_wait_for_space(journal_t *journal) in __jbd2_log_wait_for_space() argument 50 __acquires(&journal->j_state_lock) in __jbd2_log_wait_for_space() 51 __releases(&journal->j_state_lock) in __jbd2_log_wait_for_space() 54 /* assert_spin_locked(&journal->j_state_lock); */ in __jbd2_log_wait_for_space() 56 nblocks = journal->j_max_transaction_buffers; in __jbd2_log_wait_for_space() 57 while (jbd2_log_space_left(journal) < nblocks) { in __jbd2_log_wait_for_space() 58 write_unlock(&journal->j_state_lock); in __jbd2_log_wait_for_space() 59 mutex_lock_io(&journal->j_checkpoint_mutex); in __jbd2_log_wait_for_space() 65 * journal spac in __jbd2_log_wait_for_space() 127 __flush_batch(journal_t * journal,int * batch_count) __flush_batch() argument 154 jbd2_log_do_checkpoint(journal_t * journal) jbd2_log_do_checkpoint() argument 326 jbd2_cleanup_journal_tail(journal_t * journal) jbd2_cleanup_journal_tail() argument 423 jbd2_journal_shrink_checkpoint_list(journal_t * journal,unsigned long * nr_to_scan) jbd2_journal_shrink_checkpoint_list() argument 503 __jbd2_journal_clean_checkpoint_list(journal_t * journal,enum jbd2_shrink_type type) __jbd2_journal_clean_checkpoint_list() argument 543 jbd2_journal_destroy_checkpoint(journal_t * journal) jbd2_journal_destroy_checkpoint() argument 583 journal_t *journal; __jbd2_journal_remove_checkpoint() local 704 __jbd2_journal_drop_transaction(journal_t * journal,transaction_t * transaction) __jbd2_journal_drop_transaction() argument [all...] |
| H A D | commit.c | 30 * IO end handler for temporary buffer_heads handling writes to the journal. 109 * mode we can now just skip the rest of the journal write 112 * Returns 1 if the journal needs to be aborted or 0 on success 114 static int journal_submit_commit_record(journal_t *journal, in journal_submit_commit_record() argument 126 if (is_journal_aborted(journal)) in journal_submit_commit_record() 139 if (jbd2_has_feature_checksum(journal)) { in journal_submit_commit_record() 144 jbd2_commit_block_csum_set(journal, bh); in journal_submit_commit_record() 151 if (journal->j_flags & JBD2_BARRIER && in journal_submit_commit_record() 152 !jbd2_has_feature_async_commit(journal)) in journal_submit_commit_record() 164 static int journal_wait_on_commit_record(journal_t *journal, in journal_wait_on_commit_record() argument 180 jbd2_submit_inode_data(journal_t * journal,struct jbd2_inode * jinode) jbd2_submit_inode_data() argument 197 jbd2_wait_inode_data(journal_t * journal,struct jbd2_inode * jinode) jbd2_wait_inode_data() argument 234 journal_submit_data_buffers(journal_t * journal,transaction_t * commit_transaction) journal_submit_data_buffers() argument 282 journal_finish_inode_data_buffers(journal_t * journal,transaction_t * commit_transaction) journal_finish_inode_data_buffers() argument 376 jbd2_journal_commit_transaction(journal_t * journal) jbd2_journal_commit_transaction() argument [all...] |
| H A D | transaction.c | 80 static void jbd2_get_transaction(journal_t *journal, in jbd2_get_transaction() argument 83 transaction->t_journal = journal; in jbd2_get_transaction() 86 transaction->t_tid = journal->j_transaction_sequence++; in jbd2_get_transaction() 87 transaction->t_expires = jiffies + journal->j_commit_interval; in jbd2_get_transaction() 90 journal->j_transaction_overhead_buffers + in jbd2_get_transaction() 91 atomic_read(&journal->j_reserved_credits)); in jbd2_get_transaction() 97 journal->j_commit_timer.expires = round_jiffies_up(transaction->t_expires); in jbd2_get_transaction() 98 add_timer(&journal->j_commit_timer); in jbd2_get_transaction() 100 J_ASSERT(journal->j_running_transaction == NULL); in jbd2_get_transaction() 101 journal->j_running_transaction = transaction; in jbd2_get_transaction() [all …]
|
| H A D | Makefile | 8 jbd2-objs := transaction.o commit.o recovery.o checkpoint.o revoke.o journal.o
|
| /linux/drivers/md/dm-vdo/ |
| H A D | recovery-journal.h | 122 struct recovery_journal *journal; member 229 vdo_get_recovery_journal_block_number(const struct recovery_journal *journal, in vdo_get_recovery_journal_block_number() argument 236 return vdo_compute_recovery_journal_block_number(journal->size, sequence); in vdo_get_recovery_journal_block_number() 247 vdo_compute_recovery_journal_check_byte(const struct recovery_journal *journal, in vdo_compute_recovery_journal_check_byte() argument 251 return (((sequence / journal->size) & 0x7F) | 0x80); in vdo_compute_recovery_journal_check_byte() 261 void vdo_free_recovery_journal(struct recovery_journal *journal); 263 void vdo_initialize_recovery_journal_post_repair(struct recovery_journal *journal, 270 vdo_get_journal_block_map_data_blocks_used(struct recovery_journal *journal); 272 thread_id_t __must_check vdo_get_recovery_journal_thread_id(struct recovery_journal *journal); 274 void vdo_open_recovery_journal(struct recovery_journal *journal, [all …]
|
| /linux/fs/ocfs2/ |
| H A D | journal.c | 3 * journal.c 31 #include "journal.h" 62 static void ocfs2_queue_recovery_completion(struct ocfs2_journal *journal, 153 ocfs2_queue_recovery_completion(osb->journal, i, NULL, in ocfs2_queue_replay_slots() 323 struct ocfs2_journal *journal = NULL; in ocfs2_commit_cache() 325 journal = osb->journal; in ocfs2_commit_cache() 327 /* Flush all pending commits and checkpoint the journal. */ in ocfs2_commit_cache() 328 down_write(&journal->j_trans_barrier); in ocfs2_commit_cache() 330 flushed = atomic_read(&journal in ocfs2_commit_cache() 313 struct ocfs2_journal *journal = NULL; ocfs2_commit_cache() local 352 journal_t *journal = osb->journal->j_journal; ocfs2_start_trans() local 394 struct ocfs2_journal *journal = osb->journal; ocfs2_commit_trans() local 840 journal_t *journal = handle->h_transaction->t_journal; ocfs2_journal_dirty() local 859 journal_t *journal = osb->journal->j_journal; ocfs2_set_journal_params() local 881 struct ocfs2_journal *journal; ocfs2_journal_alloc() local 921 struct ocfs2_journal *journal = osb->journal; ocfs2_journal_init() local 1025 struct ocfs2_journal *journal = osb->journal; ocfs2_journal_toggle_dirty() local 1057 struct ocfs2_journal *journal = NULL; ocfs2_journal_shutdown() local 1136 ocfs2_clear_journal_error(struct super_block * sb,journal_t * journal,int slot) ocfs2_clear_journal_error() argument 1153 ocfs2_journal_load(struct ocfs2_journal * journal,int local,int replayed) ocfs2_journal_load() argument 1205 ocfs2_journal_wipe(struct ocfs2_journal * journal,int full) ocfs2_journal_wipe() argument 1321 struct ocfs2_journal *journal = ocfs2_complete_recovery() local 1392 ocfs2_queue_recovery_completion(struct ocfs2_journal * journal,int slot_num,struct ocfs2_dinode * la_dinode,struct ocfs2_dinode * tl_dinode,struct ocfs2_quota_recovery * qrec,enum ocfs2_orphan_reco_type orphan_reco_type) ocfs2_queue_recovery_completion() argument 1433 struct ocfs2_journal *journal = osb->journal; ocfs2_complete_mount_recovery() local 1690 journal_t *journal = NULL; ocfs2_replay_journal() local 2404 struct ocfs2_journal *journal = osb->journal; ocfs2_commit_thread() local [all...] |
| H A D | Makefile | 25 journal.o \
|
| /linux/include/linux/ |
| H A D | jbd2.h | 24 #include <linux/journal-head.h> 153 * field is used to store crc32c(uuid+commit_block). Each journal metadata 177 * The block tag: used to describe a single buffer in the journal. 180 * journal_tag_bytes(journal) instead to compute this. 213 /* Definitions for the journal tag flags word: */ 221 * The journal superblock. All fields are in big-endian byte order. 229 /* Static information describing the journal */ 230 __be32 s_blocksize; /* journal device blocksize */ 231 __be32 s_maxlen; /* total blocks in journal file */ 249 __u8 s_uuid[16]; /* 128-bit uuid for journal */ 1701 is_journal_aborted(journal_t * journal) is_journal_aborted() argument 1718 jbd2_init_fs_dev_write_error(journal_t * journal) jbd2_init_fs_dev_write_error() argument 1729 jbd2_check_fs_dev_write_error(journal_t * journal) jbd2_check_fs_dev_write_error() argument 1757 jbd2_journal_has_csum_v2or3(journal_t * journal) jbd2_journal_has_csum_v2or3() argument 1773 jbd2_log_space_left(journal_t * journal) jbd2_log_space_left() argument 1803 jbd2_get_latest_transaction(journal_t * journal) jbd2_get_latest_transaction() argument 1817 journal_t *journal; jbd2_handle_buffer_credits() local [all...] |
| /linux/include/trace/events/ |
| H A D | jbd2.h | 16 TP_PROTO(journal_t *journal, int result), 18 TP_ARGS(journal, result), 26 __entry->dev = journal->j_fs_dev->bd_dev; 36 TP_PROTO(journal_t *journal, transaction_t *commit_transaction), 38 TP_ARGS(journal, commit_transaction), 47 __entry->dev = journal->j_fs_dev->bd_dev; 59 TP_PROTO(journal_t *journal, transaction_t *commit_transaction), 61 TP_ARGS(journal, commit_transaction) 66 TP_PROTO(journal_t *journal, transaction_t *commit_transaction), 68 TP_ARGS(journal, commit_transaction) [all …]
|
| /linux/Documentation/filesystems/ext4/ |
| H A D | journal.rst | 6 Introduced in ext3, the ext4 filesystem employs a journal to protect the 8 to 10,240,000 file system blocks (see man mke2fs(8) for more details on journal 12 cache, a record of the data being committed is also written to the journal. At 13 some later point in time, the journal code writes the transactions to their 16 crash during the second slow write, the journal can be replayed all the 18 gets written through the journal to the disk. The effect of this is to 23 through the journal. This means that file data blocks are /not/ 26 option to control journal behavior. If ``data=journal``, all data and 27 metadata are written to disk through the journal. This is slower but 29 disk before the metadata are written to disk through the journal. [all …]
|
| /linux/Documentation/filesystems/ |
| H A D | journalling.rst | 12 how you decide to allocate the physical media on which the journal 15 for journal stored on a raw device (in a continuous range of blocks). A 21 journal file. The journalling layer expects the space for the journal 23 When loading the journal you must call jbd2_journal_load() to process 24 journal contents. If the client file system detects the journal contents 26 may call jbd2_journal_wipe() to clear the journal contents before 31 transactions in the journal and similarly jbd2_journal_load() will 38 You still need to actually journal your filesystem changes, this is done 40 the modification of each of the buffers with calls to the journal layer, 70 jbd2_journal_destroy() to clean up your in-core journal object. [all …]
|
| H A D | ntfs3.rst | 15 - Supports native journal replaying. 137 - Full journaling support over JBD. Currently journal replaying is supported
|
| /linux/fs/ext4/ |
| H A D | ext4_jbd2.c | 30 return EXT4_INODE_JOURNAL_DATA_MODE; /* journal data */ in ext4_inode_journal_mode() 82 journal_t *journal; in ext4_journal_check_start() 94 journal = EXT4_SB(sb)->s_journal; in ext4_journal_check_start() 96 * Special case here: if the journal has aborted behind our in ext4_journal_check_start() 100 if (journal && is_journal_aborted(journal)) { in __ext4_journal_start_sb() 101 ext4_abort(sb, -journal->j_errno, "Detected aborted journal"); in __ext4_journal_start_sb() 112 journal_t *journal; in __ext4_journal_start_sb() 126 journal 75 journal_t *journal; ext4_journal_check_start() local 105 journal_t *journal; __ext4_journal_start_sb() local [all...] |
| H A D | fast_commit.c | 60 * [3] Lock the journal by calling jbd2_journal_lock_updates(). This ensures 65 * [5] Unlock the journal by calling jbd2_journal_unlock_updates(). This allows 168 * journal handles to make sure all the updates it does during the replay 665 int ext4_fc_get_buf(journal_t *journal, struct buffer_head **bh) in ext4_fc_submit_bh() 667 KUNIT_STATIC_STUB_REDIRECT(ext4_fc_get_buf, journal, bh); in ext4_fc_submit_bh() 668 return jbd2_fc_get_buf(journal, bh); in ext4_fc_submit_bh() 1169 static int ext4_fc_flush_data(journal_t *journal) in ext4_fc_flush_data() 1171 struct super_block *sb = journal->j_private; in ext4_fc_flush_data() 1177 ret = jbd2_submit_inode_data(journal, READ_ONCE(ei->jinode)); in ext4_fc_commit_dentry_updates() argument 1183 ret = jbd2_wait_inode_data(journal, READ_ONC in ext4_fc_commit_dentry_updates() 1154 ext4_fc_flush_data(journal_t * journal) ext4_fc_flush_data() argument 1235 ext4_fc_snapshot_inodes(journal_t * journal,struct inode ** inodes,unsigned int inodes_size,unsigned int * nr_inodesp,unsigned int * nr_rangesp,int * snap_err) ext4_fc_snapshot_inodes() argument 1320 ext4_fc_perform_commit(journal_t * journal,tid_t commit_tid) ext4_fc_perform_commit() argument 1567 ext4_fc_commit(journal_t * journal,tid_t commit_tid) ext4_fc_commit() argument 1660 ext4_fc_cleanup(journal_t * journal,int full,tid_t tid) ext4_fc_cleanup() argument 2447 ext4_fc_replay_scan(journal_t * journal,struct buffer_head * bh,int off,tid_t expected_tid) ext4_fc_replay_scan() argument 2570 ext4_fc_replay(journal_t * journal,struct buffer_head * bh,enum passtype pass,int off,tid_t expected_tid) ext4_fc_replay() argument 2662 ext4_fc_init(struct super_block * sb,journal_t * journal) ext4_fc_init() argument [all...] |
| H A D | super.c | 528 journal_t *journal = sbi->s_journal; in ext4_journalled_writepage_needs_redirty() 535 !(sb->s_flags & SB_ACTIVE) || !journal || in ext4_journalled_writepage_needs_redirty() 536 journal->j_flags & JBD2_UNMOUNT) in ext4_journalled_writepage_needs_redirty() 561 static void ext4_journal_commit_callback(journal_t *journal, transaction_t *txn) in ext4_journalled_submit_inode_data_buffers() 563 struct super_block *sb = journal->j_private; in ext4_journalled_submit_inode_data_buffers() 734 * writing it out straight away; and given that the journal is about to in ext4_handle_error() 739 * the journal instead. On recovery, the journal will complain about in ext4_handle_error() 745 * used to deal with unrecoverable failures such as journal IO errors or ENOMEM in ext4_handle_error() 752 journal_t *journal in update_super_work() 476 journal_t *journal = sbi->s_journal; ext4_maybe_update_superblock() local 509 ext4_journal_commit_callback(journal_t * journal,transaction_t * txn) ext4_journal_commit_callback() argument 700 journal_t *journal = EXT4_SB(sb)->s_journal; ext4_handle_error() local 755 journal_t *journal = sbi->s_journal; update_super_work() local 5905 ext4_init_journal_params(struct super_block * sb,journal_t * journal) ext4_init_journal_params() argument 5964 ext4_journal_bmap(journal_t * journal,sector_t * block) ext4_journal_bmap() argument 5990 journal_t *journal; ext4_open_inode_journal() local 6090 journal_t *journal; ext4_open_dev_journal() local 6130 journal_t *journal; ext4_load_journal() local 6389 journal_t *journal = EXT4_SB(sb)->s_journal; ext4_mark_recovery_complete() local 6428 journal_t *journal; ext4_clear_journal_err() local 6532 journal_t *journal = EXT4_SB(sb)->s_journal; ext4_freeze() local [all...] |
| H A D | ext4_jbd2.h | 186 * a properly allocated handle is using a journal or not. */ 325 static inline int ext4_journal_force_commit(journal_t *journal) in ext4_journal_force_commit() argument 327 if (journal) in ext4_journal_force_commit() 328 return jbd2_journal_force_commit(journal); in ext4_journal_force_commit() 367 * Ext4 inode journal modes 369 #define EXT4_INODE_JOURNAL_DATA_MODE 0x01 /* journal data mode */ 434 * Pass journal explicitly as it may not be cached in the sbi->s_journal in some in ext4_journal_destroy() 437 static inline int ext4_journal_destroy(struct ext4_sb_info *sbi, journal_t *journal) in ext4_journal_destroy() 442 * At this point only two things can be operating on the journal. in ext4_journal_destroy() 444 * issuing sb update through the journal in ext4_journal_destroy() 432 ext4_journal_destroy(struct ext4_sb_info * sbi,journal_t * journal) ext4_journal_destroy() argument [all...] |
| H A D | block_validity.c | 362 journal_t *journal = EXT4_SB(inode->i_sb)->s_journal; in ext4_check_blockref() 364 if (journal && inode == journal->j_inode) in ext4_check_blockref() 354 journal_t *journal = EXT4_SB(inode->i_sb)->s_journal; ext4_check_blockref() local
|
| H A D | inode.c | 465 journal_t *journal = EXT4_SB(inode->i_sb)->s_journal; in ext4_map_blocks_es_recheck() 467 if (journal && inode == journal->j_inode) in ext4_map_blocks_es_recheck() 1029 * Make sure that the current journal transaction has enough credits to map in ext4_getblk() 1192 * Now that we do not always journal data, we should in ext4_block_write_begin() 1193 * keep in mind whether this should always journal the in ext4_block_write_begin() 1592 /* For write_end() in data=journal mode */ in ext4_journalled_write_end() 2592 * mapped for various reasons, such as insufficient space or journal credits. 2637 * @handle - handle for journal operations in mpage_prepare_extent_to_map() 2926 * Just submit the page. For data=journal mod in ext4_do_writepages() 396 journal_t *journal = EXT4_SB(inode->i_sb)->s_journal; __check_block_validity() local 3404 journal_t *journal = EXT4_JOURNAL(folio->mapping->host); __ext4_journalled_invalidate_folio() local 3428 journal_t *journal = EXT4_JOURNAL(inode); ext4_release_folio() local 3443 journal_t *journal = EXT4_SB(inode->i_sb)->s_journal; ext4_inode_datasync_dirty() local 5326 journal_t *journal = EXT4_SB(sb)->s_journal; __ext4_iget() local 5945 journal_t *journal = EXT4_SB(inode->i_sb)->s_journal; ext4_wait_for_tail_page_commit() local 6742 journal_t *journal; ext4_change_inode_journal_flag() local [all...] |
| /linux/Documentation/admin-guide/ |
| H A D | ext4.rst | 66 the filesystem with a large journal can also be helpful for 84 * journal checksumming for robustness, performance 145 Mount filesystem read only. Note that ext4 will replay the journal (and 150 Enable checksumming of the journal transactions. This will allow the 161 When the external journal device's major/minor numbers have changed, 162 these options allow the user to specify the new journal location. The 163 journal device is identified through either its new major/minor numbers 167 Don't load the journal on mounting. Note that if the filesystem was 168 not unmounted cleanly, skipping the journal replay will lead to the 172 data=journal [all …]
|
| H A D | jfs.rst | 26 Do not write to the journal. The primary use of this option 32 Commit metadata changes to the journal. Use this option to
|
| /linux/fs/f2fs/ |
| H A D | node.c | 582 struct f2fs_journal *journal = curseg->journal; in f2fs_get_node_info() 625 i = f2fs_lookup_journal_in_cursum(sbi, journal, NAT_JOURNAL, nid, 0); in f2fs_get_node_info() 627 ne = nat_in_journal(journal, i); in f2fs_get_node_info() 2533 struct f2fs_journal *journal = curseg->journal; in scan_nat_page() 2537 for (i = 0; i < nats_in_cursum(journal); i++) { in scan_nat_page() 2541 addr = le32_to_cpu(nat_in_journal(journal, i).block_addr); in scan_nat_page() 2542 nid = le32_to_cpu(nid_in_journal(journal, i)); in scan_nat_page() 3055 struct f2fs_journal *journal in remove_nats_in_journal() 580 struct f2fs_journal *journal = curseg->journal; f2fs_get_node_info() local 2558 struct f2fs_journal *journal = curseg->journal; scan_curseg_cache() local 3041 struct f2fs_journal *journal = curseg->journal; remove_nats_in_journal() local 3137 struct f2fs_journal *journal = curseg->journal; __flush_nat_entry_set() local 3215 struct f2fs_journal *journal = curseg->journal; f2fs_flush_nat_entries() local [all...] |
| H A D | segment.c | 2895 memcpy(sum_journal(sbi, dst), curseg->journal, sbi->sum_journal_size); in get_new_segment() 4501 memcpy(seg_i->journal, kaddr, sbi->sum_journal_size); in read_normal_summaries() 4505 memcpy(seg_i->journal, kaddr + sbi->sum_journal_size, sbi->sum_journal_size); in read_normal_summaries() 4604 /* update journal info */ in write_compacted_summaries() 4606 memcpy(curseg->journal, sum_journal(sbi, sum), sbi->sum_journal_size); in write_compacted_summaries() 4625 struct f2fs_journal *sit_j = CURSEG_I(sbi, CURSEG_COLD_DATA)->journal; in write_compacted_summaries() 4626 struct f2fs_journal *nat_j = CURSEG_I(sbi, CURSEG_HOT_DATA)->journal; in write_compacted_summaries() 4658 f2fs_err(sbi, "invalid journal entries nats %u sits %u", in f2fs_write_data_summaries() 4681 memcpy(kaddr, seg_i->journal, sbi->sum_journal_size); in f2fs_lookup_journal_in_cursum() 4686 memcpy(kaddr + written_size, seg_i->journal, sb in f2fs_lookup_journal_in_cursum() 4667 f2fs_lookup_journal_in_cursum(struct f2fs_sb_info * sbi,struct f2fs_journal * journal,int type,unsigned int val,int alloc) f2fs_lookup_journal_in_cursum() argument 4782 struct f2fs_journal *journal = curseg->journal; remove_sits_in_journal() local 4809 struct f2fs_journal *journal = curseg->journal; f2fs_flush_sit_entries() local 5083 struct f2fs_journal *journal = curseg->journal; build_sit_entries() local [all...] |
| /linux/drivers/md/bcache/ |
| H A D | Makefile | 6 journal.o movinggc.o request.o stats.o super.o sysfs.o trace.o\
|
| /linux/fs/ubifs/ |
| H A D | Makefile | 4 ubifs-y += shrinker.o journal.o file.o dir.o super.o sb.o io.o
|