aboutsummaryrefslogtreecommitdiffstats
path: root/fs/jbd2/journal.c
AgeCommit message (Expand)AuthorFilesLines
2024-01-04jbd2: replace journal state flag by checking errseqZhihao Cheng1-5/+5
2024-01-04jbd2: add errseq to detect client fs's bdev writeback errorZhihao Cheng1-0/+1
2023-11-30jbd2: increase the journal IO's priorityZhang Yi1-9/+11
2023-11-30jbd2: correct the printing of write_flags in jbd2_write_superblock()Zhang Yi1-1/+3
2023-10-04jbd2,ext4: dynamically allocate the jbd2-journal shrinkerQi Zheng1-11/+18
2023-09-17Merge tag 'ext4_for_linus-6.6-rc2' of git://git.kernel.org/pub/scm/linux/kern...Linus Torvalds1-0/+2
2023-09-14jbd2: Fix memory leak in journal_init_common()Li Zetao1-0/+2
2023-08-31Merge tag 'ext4_for_linus-6.6-rc1' of git://git.kernel.org/pub/scm/linux/kern...Linus Torvalds1-254/+230
2023-08-23jbd2: jbd2_journal_init_{dev,inode} return proper error return valueZhang Yi1-10/+9
2023-08-18jbd2: use a folio in jbd2_journal_write_metadata_buffer()Matthew Wilcox (Oracle)1-19/+16
2023-08-15jbd2: drop useless error tag in jbd2_journal_wipe()Zhang Yi1-3/+2
2023-08-15jbd2: cleanup journal_init_common()Zhang Yi1-21/+24
2023-08-15jbd2: add fast_commit space checkZhang Yi1-4/+12
2023-08-15jbd2: cleanup load_superblock()Zhang Yi1-50/+35
2023-08-15jbd2: open code jbd2_verify_csum_type() helperZhang Yi1-13/+5
2023-08-15jbd2: checking valid features early in journal_get_superblock()Zhang Yi1-15/+15
2023-08-15jbd2: don't load superblock in jbd2_journal_check_used_features()Zhang Yi1-5/+0
2023-08-15jbd2: move load_superblock() into journal_init_common()Zhang Yi1-11/+5
2023-08-15jbd2: move load_superblock() dependent functionsZhang Yi1-169/+168
2023-07-29fs: jbd2: fix an incorrect warn logGuoqing Cai1-8/+10
2023-06-29Merge tag 'ext4_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/t...Linus Torvalds1-39/+39
2023-06-26jbd2: skip reading super block if it has been verifiedZhang Yi1-4/+3
2023-06-26jbd2: continue to record log between each mountZhang Yi1-2/+16
2023-06-26jbd2: remove j_format_versionZhang Yi1-9/+0
2023-06-26jbd2: factor out journal initialization from journal_get_superblock()Zhang Yi1-24/+22
2023-06-26jbd2: switch to check format version in superblock directlyZhang Yi1-9/+7
2023-06-05jbd2: Avoid printing outside the boundary of the bufferAndy Shevchenko1-4/+2
2023-03-12Merge tag 'ext4_for_linus_stable' of git://git.kernel.org/pub/scm/linux/kerne...Linus Torvalds1-3/+6
2023-03-11ext4, jbd2: add an optimized bmap for the journal inodeTheodore Ts'o1-3/+6
2023-01-18jbd2,ocfs2: move jbd2_journal_submit_inode_data_buffers to ocfs2Christoph Hellwig1-1/+0
2023-01-18jbd2: replace obvious uses of b_page with b_folioMatthew Wilcox (Oracle)1-1/+1
2022-10-10Merge tag 'mm-stable-2022-10-08' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds1-9/+6
2022-09-30jbd2: fix potential use-after-free in jbd2_fc_wait_bufsYe Bin1-3/+3
2022-09-30jbd2: fix potential buffer head reference count leakYe Bin1-1/+7
2022-09-29jbd2: drop useless return value of submit_bhRitesh Harjani (IBM)1-5/+4
2022-09-11jbd2: replace ll_rw_block()Zhang Yi1-9/+6
2022-08-05Merge tag 'mm-stable-2022-08-03' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds1-1/+2
2022-08-04Merge tag 'ext4_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/t...Linus Torvalds1-22/+19
2022-08-02jbd2: unexport jbd2_log_start_commit()Jan Kara1-2/+1
2022-08-02jbd2: remove unused exports for jbd2 debuggingJan Kara1-3/+1
2022-08-02jbd2: rename jbd_debug() to jbd2_debug()Jan Kara1-17/+17
2022-07-14fs/jbd2: Fix the documentation of the jbd2_write_superblock() callersBart Van Assche1-7/+8
2022-07-14fs/buffer: Combine two submit_bh() and ll_rw_block() argumentsBart Van Assche1-2/+2
2022-07-14block: remove bdevnameChristoph Hellwig1-2/+4
2022-07-03mm: shrinkers: provide shrinkers with namesRoman Gushchin1-1/+2
2022-04-17block: decouple REQ_OP_SECURE_ERASE from REQ_OP_DISCARDChristoph Hellwig1-1/+1
2022-04-17block: remove QUEUE_FLAG_DISCARDChristoph Hellwig1-5/+2
2022-03-15ext4: Convert invalidatepage to invalidate_folioMatthew Wilcox (Oracle)1-1/+1
2022-02-06Merge tag 'ext4_for_linus_stable' of git://git.kernel.org/pub/scm/linux/kerne...Linus Torvalds1-1/+5
2022-02-03jbd2: fix kernel-doc descriptions for jbd2_journal_shrink_{scan,count}()Yang Li1-0/+4
2022-02-03ext4: fast commit may not fallback for ineligible commitXin Yin1-1/+1
2022-01-30jbd2: export jbd2_journal_[grab|put]_journal_headJoseph Qi1-0/+2
2022-01-22proc: remove PDE_DATA() completelyMuchun Song1-1/+1
2021-12-23ext4: use ext4_journal_start/stop for fast commit transactionsHarshad Shirwadkar1-0/+2
2021-07-08ext4: inline jbd2_journal_[un]register_shrinker()Theodore Ts'o1-89/+60
2021-06-30jbd2: export jbd2_journal_[un]register_shrinker()Zhang Yi1-0/+2
2021-06-24jbd2,ext4: add a shrinker to release checkpointed buffersZhang Yi1-0/+87
2021-06-24jbd2: ensure abort the journal if detect IO error when writing original buffe...Zhang Yi1-0/+14
2021-06-24jbd2: clean up misleading comments for jbd2_fc_release_bufsyangerkun1-8/+0
2021-06-22ext4: add discard/zeroout flags to journal flushLeah Rumancik1-3/+116
2020-12-17jbd2: add a helper to find out number of fast commit blocksHarshad Shirwadkar1-6/+2
2020-11-19jbd2: fix kernel-doc markupsMauro Carvalho Chehab1-16/+18
2020-11-06jbd2: don't start fast commit on aborted journalHarshad Shirwadkar1-0/+2
2020-11-06jbd2: don't read journal->j_commit_sequence without taking a lockHarshad Shirwadkar1-2/+4
2020-11-06jbd2: don't touch buffer state until it is filledHarshad Shirwadkar1-4/+0
2020-11-06jbd2: don't pass tid to jbd2_fc_end_commit_fallback()Harshad Shirwadkar1-3/+9
2020-11-06jbd2: don't use state lock during commit pathHarshad Shirwadkar1-6/+0
2020-11-06ext4: clean up the JBD2 API that initializes fast commitsHarshad Shirwadkar1-40/+56
2020-11-06jbd2: rename j_maxlen to j_total_len and add jbd2_journal_max_txn_bufsHarshad Shirwadkar1-6/+6
2020-10-21jbd2: add fast commit machineryHarshad Shirwadkar1-1/+189
2020-10-21ext4 / jbd2: add fast commit initializationHarshad Shirwadkar1-5/+48
2020-10-18jbd2: introduce/export functions jbd2_journal_submit|finish_inode_data_buffers()Mauricio Faria de Oliveira1-0/+2
2020-08-07jbd2: fix incorrect code styleXianting Tian1-6/+6
2020-08-06jbd2: add the missing unlock_buffer() in the error path of jbd2_write_superbl...zhangyi (F)1-1/+3
2020-06-12ext4, jbd2: ensure panic by fix a race between jbd2 abort and ext4 error hand...zhangyi (F)1-5/+12
2020-02-08Merge branch 'work.misc' of git://git.kernel.org/pub/scm/linux/kernel/git/vir...Linus Torvalds1-7/+14
2020-02-04proc: convert everything to "struct proc_ops"Alexey Dobriyan1-7/+6
2020-02-03fs: Enable bmap() function to properly return errorsCarlos Maiolino1-7/+15
2020-01-25jbd2: clean __jbd2_journal_abort_hard() and __journal_abort_soft()zhangyi (F)1-61/+42
2020-01-25jbd2: make sure ESHUTDOWN to be recorded in the journal superblockzhangyi (F)1-2/+1
2020-01-25ext4, jbd2: ensure panic when aborting with zero errnozhangyi (F)1-11/+4
2020-01-25jbd2_seq_info_next should increase position indexVasily Averin1-0/+1
2020-01-25jbd2: remove pointless assertion in __journal_remove_journal_headShijie Luo1-1/+0
2020-01-17jbd2: clear JBD2_ABORT flag before journal_reset to update log tail info when...Kai Li1-1/+5
2019-11-05Merge branch 'jk/jbd2-revoke-overflow'Theodore Ts'o1-1/+34
2019-11-05jbd2: Reserve space for revoke descriptor blocksJan Kara1-0/+21
2019-11-05jbd2: Account descriptor blocks into t_outstanding_creditsJan Kara1-0/+1
2019-11-05jbd2: Completely fill journal descriptor blocksJan Kara1-1/+12
2019-10-21jbd2: Free journal head outside of locked regionThomas Gleixner1-6/+14
2019-10-21jbd2: Make state lock a spinlockThomas Gleixner1-4/+6
2019-09-24jbd2: remove jbd2_journal_inode_add_[write|wait]Joseph Qi1-2/+0
2019-06-20jbd2: drop declaration of journal_sync_buffer()Theodore Ts'o1-3/+0
2019-06-20jbd2: introduce jbd2_inode dirty range scopingRoss Zwisler1-0/+4
2019-05-30jbd2: fix some print format mistakesGaowei Pu1-9/+9
2019-05-10jbd2: fix potential double freeChengguang Xu1-18/+31
2019-04-06jbd2: check superblock mapped prior to committingJiufei Xue1-0/+4
2019-02-14jbd2: fold jbd2_superblock_csum_{verify,set} into their callersTheodore Ts'o1-25/+11
2019-02-14jbd2: fix race when writing superblockTheodore Ts'o1-25/+27
2019-01-31jbd2: fix deadlock while checkpoint thread waits commit thread to finishXiaoguang Wang1-1/+1
2018-05-20jbd2: remove NULL check before calling kmem_cache_destroy()Wang Long1-11/+7
2018-05-20jbd2: remove bunch of empty lines with jbd2 debugWang Shilong1-1/+1
2018-02-19jbd2: if the journal is aborted then don't allow update of the log tailTheodore Ts'o1-1/+4
2018-02-18ext4: pass -ESHUTDOWN code to jbd2 layerTheodore Ts'o1-6/+19
2017-12-17ext4: fix up remaining files with SPDX cleanupsTheodore Ts'o1-4/+1
2017-11-17Merge tag 'libnvdimm-for-4.15' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds1-0/+17
2017-11-03ext4: Support for synchronous DAX faultsJan Kara1-0/+17
2017-10-18jbd2: convert timers to use timer_setup()Kees Cook1-5/+4
2017-06-20sched/wait: Standardize 'struct wait_bit_queue' wait-queue entry field nameIngo Molnar1-2/+2
2017-05-10Merge branch 'core-rcu-for-linus' of git://git.kernel.org/pub/scm/linux/kerne...Linus Torvalds1-1/+1
2017-05-08Merge tag 'ext4_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/t...Linus Torvalds1-7/+21
2017-05-04jbd2: cleanup write flags handling from jbd2_write_superblock()Jan Kara1-7/+8
2017-05-03jbd2: make the whole kjournald2 kthread NOFS safeMichal Hocko1-0/+9
2017-04-29jbd2: fix dbench4 performance regression for 'nobarrier' mountsJan Kara1-1/+1
2017-04-29jbd2: Fix lockdep splat with generic/270 testJan Kara1-1/+14
2017-04-23Merge branch 'for-mingo' of git://git.kernel.org/pub/scm/linux/kernel/git/pau...Ingo Molnar1-1/+1
2017-04-18mm: Rename SLAB_DESTROY_BY_RCU to SLAB_TYPESAFE_BY_RCUPaul E. McKenney1-1/+1
2017-03-15jbd2: don't leak memory if setting up journal failsEric Biggers1-11/+11
2017-02-20Merge tag 'ext4_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/t...Linus Torvalds1-1/+1
2017-02-01jbd2: fix use after free in kjournald2()Sahitya Tummala1-1/+1
2017-01-14fs/jbd2, locking/mutex, sched/wait: Use mutex_lock_io() for journal->j_checkp...Tejun Heo1-6/+6
2016-12-24Replace <asm/uaccess.h> with <linux/uaccess.h> globallyLinus Torvalds1-1/+1
2016-11-01block,fs: use REQ_* flags directlyChristoph Hellwig1-7/+8
2016-09-15jbd2: move more common code into journal_init_common()Geliang Tang1-81/+50
2016-07-26Merge tag 'ext4_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/t...Linus Torvalds1-0/+5
2016-07-26Merge branch 'for-4.8/core' of git://git.kernel.dk/linux-blockLinus Torvalds1-5/+5
2016-06-30jbd2: track more dependencies on transaction commitJan Kara1-0/+1
2016-06-30jbd2: move lockdep tracking to journal_sJan Kara1-0/+4
2016-06-24jbd2: get rid of superfluous __GFP_REPEATMichal Hocko1-25/+7
2016-06-07block, drivers, fs: rename REQ_FLUSH to REQ_PREFLUSHMike Christie1-1/+1
2016-06-07fs: have ll_rw_block users pass in op and flags separatelyMike Christie1-1/+1
2016-06-07fs: have submit_bh users pass in op and flags separatelyMike Christie1-4/+4
2016-04-24jbd2: add support for avoiding data writes during transaction commitsJan Kara1-1/+2
2016-04-04mm, fs: get rid of PAGE_CACHE_* and page_cache_{get,release} macrosKirill A. Shutemov1-1/+1
2016-03-09jbd2: fix FS corruption possibility in jbd2_journal_destroy() on umount pathOGAWA Hirofumi1-5/+12
2016-02-22jbd2: save some atomic ops in __JI_COMMIT_RUNNING handlingJan Kara1-1/+1
2016-02-22jbd2: unify revoke and tag block checksum handlingJan Kara1-0/+15
2016-02-22jbd2: factor out common descriptor block initializationJan Kara1-1/+8
2015-10-18ext4, jbd2: ensure entering into panic after recording an error in superblockDaeho Jeong1-1/+5
2015-10-17jbd2: clean up feature test macros with predicate functionsDarrick J. Wong1-6/+6
2015-10-17ext4: call out CRC and corruption errors with specific error codesDarrick J. Wong1-1/+2
2015-10-15jbd2: gate checksum calculations on crc driver presence, not sb flagsDarrick J. Wong1-3/+3
2015-07-28jbd2: avoid infinite loop when destroying aborted journalJan Kara1-1/+10
2015-07-23ext4, jbd2: add REQ_FUA flag when recording an error in the superblockDaeho Jeong1-1/+1
2015-06-26Merge branch 'akpm' (patches from Andrew)Linus Torvalds1-8/+2
2015-06-25fs/jbd2/journal.c: use strreplace()Rasmus Villemoes1-8/+2
2015-06-15jbd2: get rid of open coded allocation retry loopMichal Hocko1-4/+2
2015-06-15jbd2: fix ocfs2 corrupt when updating journal superblock failsJoseph Qi1-7/+31
2015-06-08jbd2: speedup jbd2_journal_get_[write|undo]_access()Jan Kara1-1/+1
2015-06-08jbd2: revert must-not-fail allocation loops back to GFP_NOFAILMichal Hocko1-10/+1
2014-12-12Merge tag 'ext4_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/t...Linus Torvalds1-2/+1
2014-12-01jbd2: fix regression where we fail to initialize checksum seed when loadingDarrick J. Wong1-3/+2
2014-11-25jbd2: remove unnecessary NULL check before iput()Theodore Ts'o1-2/+1
2014-09-11jbd2: fix journal checksum feature flag handlingDarrick J. Wong1-8/+8
2014-09-04jbd/jbd2: use non-movable memory for the jbd superblockGioh Kim1-1/+1
2014-08-28jbd2: fix descriptor block size handling errors with journal_csumDarrick J. Wong1-19/+37
2014-03-08jbd2: don't hold j_state_lock while calling wake_up()Theodore Ts'o1-2/+2
2014-02-17jbd2: mark file-local functions as staticRashika Kheria1-3/+3
2013-12-08jbd2: rename obsoleted msg JBD->JBD2Dmitry Monakhov1-5/+5
2013-12-08jbd2: revise KERN_EMERG error messagesJan Kara1-5/+3
2013-08-28jbd2: Fix endian mixing problems in the checksumming codeDarrick J. Wong1-2/+3
2013-07-01jbd2: move superblock checksum calculation to jbd2_write_superblock()Theodore Ts'o1-1/+2
2013-06-12jbd2: use a single printk for jbd_debug()Paul Gortmaker1-0/+18
2013-06-12jbd2: optimize jbd2_journal_force_commitDmitry Monakhov1-14/+48
2013-06-04jbd2: transaction reservation supportJan Kara1-0/+2
2013-06-04jbd2: remove unused waitqueuesJan Kara1-2/+0
2013-06-04jbd2: cleanup needed free block estimates when starting a transactionJan Kara1-29/+0
2013-06-04jbd2: refine waiting for shadow buffersJan Kara1-0/+2
2013-06-04jbd2: remove journal_head from descriptor buffersJan Kara1-2/+2
2013-06-04jbd2: don't create journal_head for temporary journal buffersJan Kara1-22/+14
2013-05-28jbd2: use kmem_cache_zalloc for allocating journal headZheng Liu1-5/+3
2013-05-01Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/vir...Linus Torvalds1-1/+1
2013-05-01Merge tag 'ext4_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/t...Linus Torvalds1-0/+31
2013-04-29fs/buffer.c: remove unnecessary init operation after allocating buffer_head.majianpeng1-2/+0
2013-04-09procfs: new helper - PDE_DATA(inode)Al Viro1-1/+1
2013-04-03ext4/jbd2: don't wait (forever) for stale tid caused by wraparoundTheodore Ts'o1-0/+31
2013-02-09jbd2: use module parameters instead of debugfs for jbd_debugTheodore Ts'o1-42/+8
2013-02-06jbd2: track request delay statisticsTheodore Ts'o1-3/+9
2013-01-30jbd2: don't wake kjournald unnecessarilyEric Sandeen1-0/+4
2012-11-08ext4: remove ext4_handle_release_buffer()Eric Sandeen1-1/+0
2012-10-08Merge tag 'ext4_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/t...Linus Torvalds1-0/+5
2012-08-18jbd2: don't write superblock when if its emptyEric Sandeen1-0/+5
2012-08-17Merge tag 'ext4_for_linus_stable' of git://git.kernel.org/pub/scm/linux/kerne...Linus Torvalds1-1/+2
2012-08-05ext4: make sure the journal sb is written in ext4_clear_journal_err()Theodore Ts'o1-1/+2
2012-08-04jbd/jbd2: nuke write_super from commentsArtem Bityutskiy1-2/+2
2012-05-27jbd2: checksum data blocks that are stored in the journalDarrick J. Wong1-2/+8
2012-05-27jbd2: checksum journal superblockDarrick J. Wong1-0/+47
2012-05-27jbd2: Grab a reference to the crc32c driver if necessaryDarrick J. Wong1-0/+25
2012-05-27jbd2: enable journal clients to enable v2 checksummingDarrick J. Wong1-0/+50
2012-03-28Merge tag 'split-asm_system_h-for-linus-20120328' of git://git.kernel.org/pub...Linus Torvalds1-1/+0
2012-03-28Remove all #inclusions of asm/system.hDavid Howells1-1/+0
2012-03-28Merge tag 'ext4_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/t...Linus Torvalds1-132/+229
2012-03-21Merge tag 'pm-for-3.4' of git://git.kernel.org/pub/scm/linux/kernel/git/rafae...Linus Torvalds1-0/+2
2012-03-20jbd2: remove the second argument of k[un]map_atomic()Cong Wang1-6/+6
2012-03-13jbd2: cleanup journal tail after transaction commitJan Kara1-0/+13
2012-03-13jbd2: issue cache flush after checkpointing even with internal journalJan Kara1-21/+117
2012-03-13PM / Sleep: JBD and JBD2 missing set_freezable()Nigel Cunningham1-0/+2
2012-03-13jbd2: protect all log tail updates with j_checkpoint_mutexJan Kara1-3/+16
2012-03-13jbd2: split updating of journal superblock and marking journal emptyJan Kara1-68/+95
2012-02-20ext4: remove the journal=update mount optionEric Sandeen1-57/+0
2012-02-20jbd2: rename functions which initialize slab cachesYongqiang Yang1-6/+6