aboutsummaryrefslogtreecommitdiffstats
path: root/fs/jbd2/transaction.c
AgeCommit message (Expand)AuthorFilesLines
2024-01-04jbd2: abort journal when detecting metadata writeback error of fs devZhihao Cheng1-0/+14
2023-09-07jbd2: Remove page size assumptionsRitesh Harjani (IBM)1-8/+4
2023-07-10jbd2: remove __journal_try_to_free_buffer()Zhang Yi1-24/+7
2023-07-10jbd2: fix a race when checking checkpoint buffer busyZhang Yi1-12/+5
2023-04-14jdb2: Don't refuse invalidation of already invalidated buffersJan Kara1-0/+3
2023-02-19jbd2: fix data missing when reusing bh which is ready to be checkpointedZhihao Cheng1-21/+29
2022-09-30jbd2: wake up journal waiters in FIFO order, not LIFOAndrew Perepechko1-3/+3
2022-08-02jbd2: fix assertion 'jh->b_frozen_data == NULL' failure when journal abortedZhihao Cheng1-2/+12
2022-08-02jbd2: rename jbd_debug() to jbd2_debug()Jan Kara1-13/+13
2022-06-16fs: fix jbd2_journal_try_to_free_buffers() kernel-doc commentYang Li1-1/+1
2022-05-09fs: Change try_to_free_buffers() to take a folioMatthew Wilcox (Oracle)1-2/+2
2022-05-09jbd2: Convert jbd2_journal_try_to_free_buffers to take a folioMatthew Wilcox (Oracle)1-6/+6
2022-03-22Merge tag 'folio-5.18b' of git://git.infradead.org/users/willy/pagecacheLinus Torvalds1-16/+15
2022-03-15ext4: Convert invalidatepage to invalidate_folioMatthew Wilcox (Oracle)1-16/+15
2022-02-25jbd2: remove CONFIG_JBD2_DEBUG to update t_max_waitRitesh Harjani1-4/+3
2022-02-25jbd2: kill t_handle_lock transaction spinlockRitesh Harjani1-19/+9
2022-02-25jbd2: fix use-after-free of transaction_t raceRitesh Harjani1-16/+25
2022-02-03jbd2: refactor wait logic for transaction updates into a common functionRitesh Harjani1-21/+32
2021-08-30ext4: Support for checksumming from journal triggersJan Kara1-1/+1
2021-08-30jbd2: add sparse annotations for add_transaction_credits()Theodore Ts'o1-1/+18
2021-06-24jbd2: don't abort the journal when freeing buffersZhang Yi1-17/+0
2021-04-09ext4: annotate data race in jbd2_journal_dirty_metadata()Jan Kara1-4/+4
2021-04-09ext4: annotate data race in start_this_handle()Jan Kara1-1/+6
2020-11-19jbd2: fix kernel-doc markupsMauro Carvalho Chehab1-15/+16
2020-11-07jbd2: fix up sparse warnings in checkpoint codeTheodore Ts'o1-1/+3
2020-08-07jbd2: remove unused parameter in jbd2_journal_try_to_free_buffers()zhangyi (F)1-6/+1
2020-08-07jbd2: abort journal if free a async write error metadata bufferzhangyi (F)1-0/+16
2020-08-06jbd2: make sure jh have b_transaction set in refile/unfile_bufferLukas Czerner1-0/+10
2020-06-03jbd2: avoid leaking transaction credits when unreserving handleJan Kara1-3/+11
2020-02-29jbd2: fix data races at struct journal_headQian Cai1-4/+4
2020-02-21jbd2: fix ocfs2 corrupt when clearing block group bitswangyan1-2/+6
2020-02-13jbd2: move the clearing of b_modified flag to the journal_unmap_buffer()zhangyi (F)1-4/+6
2020-01-25ext4,jbd2: fix comment and code styleShijie Luo1-1/+1
2020-01-25jbd2: delete the duplicated words in the commentswangyan1-1/+1
2019-11-30Merge tag 'ext4_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/t...Linus Torvalds1-183/+217
2019-11-05Merge branch 'jk/jbd2-revoke-overflow'Theodore Ts'o1-107/+149
2019-11-05jbd2: Fine tune estimate of necessary descriptor blocksJan Kara1-5/+16
2019-11-05jbd2: Provide trace event for handle restartsJan Kara1-1/+7
2019-11-05jbd2: Make credit checking more strictJan Kara1-1/+1
2019-11-05jbd2: Rename h_buffer_credits to h_total_creditsJan Kara1-15/+15
2019-11-05jbd2: Reserve space for revoke descriptor blocksJan Kara1-7/+47
2019-11-05jbd2: Drop jbd2_space_needed()Jan Kara1-2/+3
2019-11-05jbd2: Account descriptor blocks into t_outstanding_creditsJan Kara1-8/+12
2019-11-05jbd2: Factor out common parts of stopping and restarting a handleJan Kara1-52/+46
2019-11-05jbd2: Drop pointless wakeup from jbd2_journal_stop()Jan Kara1-4/+1
2019-11-05jbd2: Drop pointless check from jbd2_journal_stop()Jan Kara1-5/+2
2019-11-05jbd2: Reorganize jbd2_journal_stop()Jan Kara1-24/+16
2019-10-21jbd2: Make state lock a spinlockThomas Gleixner1-53/+47
2019-10-21jbd2: Don't call __bforget() unnecessarilyJan Kara1-5/+4
2019-10-21jbd2: Drop unnecessary branch from jbd2_journal_forget()Jan Kara1-4/+0
2019-10-21jbd2: Move dropping of jh reference out of un/re-filing functionsJan Kara1-8/+15
2019-10-21jbd2: Simplify journal_unmap_buffer()Thomas Gleixner1-6/+2
2019-10-09locking/lockdep: Remove unused @nested argument from lock_release()Qian Cai1-2/+2
2019-09-24jbd2: remove jbd2_journal_inode_add_[write|wait]Joseph Qi1-12/+0
2019-08-24jbd2: add missing tracepoint for reserved handleXiaoguang Wang1-0/+3
2019-06-20jbd2: introduce jbd2_inode dirty range scopingRoss Zwisler1-21/+28
2019-05-10jbd2: fix potential double freeChengguang Xu1-3/+5
2019-03-01jbd2: jbd2_get_transaction does not need to return a valueLiu Song1-5/+3
2019-02-21jbd2: fix compile warning when using JBUFFER_TRACEzhangyi (F)1-8/+8
2019-02-10jbd2: discard dirty data when forgetting an un-journalled bufferzhangyi (F)1-4/+38
2019-02-10jbd2: clear dirty flag when revoking a buffer from an older transactionzhangyi (F)1-5/+12
2018-12-04jbd2: clean up indentation issue, replace spaces with tabColin Ian King1-1/+1
2018-12-03jbd2: avoid long hold times of j_state_lock while committing a transactionJan Kara1-5/+38
2018-06-16jbd2: don't mark block as modified if the handle is out of creditsTheodore Ts'o1-1/+8
2018-05-20jbd2: remove NULL check before calling kmem_cache_destroy()Wang Long1-4/+2
2018-04-18ext4: set h_journal if there is a failure starting a reserved handleTheodore Ts'o1-0/+1
2018-01-10jbd2: fix sphinx kernel-doc build warningsTobin C. Harding1-1/+4
2017-12-17ext4: fix up remaining files with SPDX cleanupsTheodore Ts'o1-4/+1
2017-07-03Merge tag 'docs-4.13' of git://git.lwn.net/linuxLinus Torvalds1-21/+21
2017-05-21jbd2: preserve original nofs flag during journal restartTahsin Erdogan1-0/+6
2017-05-16fs: jbd2: escape a string with special chars on a kernel-docMauro Carvalho Chehab1-2/+2
2017-05-16fs: jbd2: make jbd2_journal_start() kernel-doc parseableMauro Carvalho Chehab1-19/+19
2017-05-03jbd2: mark the transaction context with the scope GFP_NOFS contextMichal Hocko1-0/+12
2017-02-04jbd2: don't leak modified metadata buffers on an aborted journalTheodore Ts'o1-1/+3
2016-10-12jbd2: fix incorrect unlock on j_list_lockTaesoo Kim1-1/+2
2016-09-22jbd2: fix lockdep annotation in add_transaction_credits()Jan Kara1-2/+4
2016-06-30jbd2: track more dependencies on transaction commitJan Kara1-0/+4
2016-06-30jbd2: move lockdep tracking to journal_sJan Kara1-8/+3
2016-06-30jbd2: move lockdep instrumentation for jbd2 handlesJan Kara1-2/+2
2016-05-24Merge tag 'ext4_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/t...Linus Torvalds1-4/+18
2016-04-24jbd2: add support for avoiding data writes during transaction commitsJan Kara1-4/+18
2016-04-18Merge branch 'master' into for-nextJiri Kosina1-28/+20
2016-04-18Doc: treewide : Fix typos in DocBook/filesystem.xmlMasanari Iida1-3/+3
2016-04-04mm, fs: get rid of PAGE_CACHE_* and page_cache_{get,release} macrosKirill A. Shutemov1-2/+2
2016-03-13jbd2: do not fail journal because of frozen_buffer allocation failureMichal Hocko1-17/+5
2016-01-06fs: use block_device name vsprintf helperDmitry Monakhov1-4/+2
2015-12-07Merge tag 'ext4_for_linus_stable' of git://git.kernel.org/pub/scm/linux/kerne...Linus Torvalds1-3/+9
2015-12-04jbd2: fix null committed data return in undo_accessJunxiao Bi1-3/+7
2015-11-24jbd2: Fix unreclaimed pages after truncate in data=journal modeJan Kara1-0/+2
2015-11-06mm, page_alloc: distinguish between being unable to sleep, unwilling to sleep...Mel Gorman1-2/+2
2015-08-04jbd2: limit number of reserved creditsLukas Czerner1-9/+27
2015-07-12jbd2: speedup jbd2_journal_dirty_metadata()Jan Kara1-6/+32
2015-06-27Revert "jbd2: speedup jbd2_journal_dirty_metadata()"Linus Torvalds1-27/+6
2015-06-20jbd2: speedup jbd2_journal_dirty_metadata()Jan Kara1-6/+27
2015-06-08jbd2: speedup jbd2_journal_get_[write|undo]_access()Jan Kara1-4/+72
2015-06-08jbd2: more simplifications in do_get_write_access()Jan Kara1-71/+59
2015-06-08jbd2: simplify error path on allocation failure in do_get_write_access()Jan Kara1-2/+1
2015-06-08jbd2: simplify code flow in do_get_write_access()Jan Kara1-24/+25
2015-06-08jbd2: revert must-not-fail allocation loops back to GFP_NOFAILMichal Hocko1-13/+7
2015-05-14ext4: fix NULL pointer dereference when journal restart failsLukas Czerner1-9/+16
2014-07-16sched: Remove proliferation of wait_on_bit() action functionsNeilBrown1-8/+2
2014-07-05ext4: disable synchronous transaction batching if max_batch_time==0Eric Sandeen1-1/+4
2014-03-12jbd2: improve error messages for inconsistent journal headsTheodore Ts'o1-19/+14
2014-03-09jbd2: minimize region locked by j_list_lock in jbd2_journal_forget()Theodore Ts'o1-2/+4
2014-03-09jbd2: minimize region locked by j_list_lock in journal_get_create_access()Theodore Ts'o1-1/+2
2014-03-09jbd2: check jh->b_transaction without taking j_list_lockTheodore Ts'o1-2/+2
2014-02-17jbd2: fix use after free in jbd2_journal_start_reserved()Dan Carpenter1-2/+4
2013-12-08jbd2: rename obsoleted msg JBD->JBD2Dmitry Monakhov1-3/+3
2013-12-08jbd2: revise KERN_EMERG error messagesJan Kara1-5/+5
2013-12-08jbd2: don't BUG but return ENOSPC if a handle runs out of spaceTheodore Ts'o1-2/+4
2013-07-01jbd2: invalidate handle if jbd2_journal_restart() failsTheodore Ts'o1-31/+43
2013-07-01jbd2: fix theoretical race in jbd2__journal_restartTheodore Ts'o1-1/+1
2013-06-12jbd2: optimize jbd2_journal_force_commitDmitry Monakhov1-23/+0
2013-06-04jbd2: transaction reservation supportJan Kara1-88/+240
2013-06-04jbd2: fix race in t_outstanding_credits update in jbd2_journal_extend()Jan Kara1-2/+4
2013-06-04jbd2: cleanup needed free block estimates when starting a transactionJan Kara1-4/+5
2013-06-04jbd2: remove outdated commentJan Kara1-10/+0
2013-06-04jbd2: refine waiting for shadow buffersJan Kara1-25/+19
2013-06-04jbd2: remove journal_head from descriptor buffersJan Kara1-6/+0
2013-06-04jbd2: don't create journal_head for temporary journal buffersJan Kara1-10/+4
2013-05-21jbd2: change jbd2_journal_invalidatepage to accept lengthLukas Czerner1-7/+17
2013-04-21jbd2: trace when lock_buffer in do_get_write_access takes a long timeTheodore Ts'o1-0/+8
2013-04-19jbd2: use kmem_cache_zalloc instead of kmem_cache_alloc/memsetZheng Liu1-1/+0
2013-03-11jbd2: fix use after free in jbd2_journal_dirty_metadata()Jan Kara1-5/+10
2013-03-02jbd2: fix ERR_PTR dereference in jbd2__journal_startDmitry Monakhov1-1/+1
2013-02-08jbd2: add tracepoints which provide per-handle statistics Theodore Ts'o1-2/+26
2013-02-06jbd2: track request delay statisticsTheodore Ts'o1-0/+1
2013-01-02Merge tag 'ext4_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/t...Linus Torvalds1-14/+16
2012-12-25ext4: fix deadlock in journal_unmap_buffer()Jan Kara1-13/+14
2012-12-21jbd2: fix assertion failure in jbd2_journal_flush()Jan Kara1-1/+2
2012-12-16Merge tag 'ext4_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/t...Linus Torvalds1-11/+0
2012-11-19Fix misspellings of "whether" in comments.Adam Buchbinder1-1/+1
2012-11-08ext4: remove ext4_handle_release_buffer()Eric Sandeen1-11/+0
2012-09-26jbd2: fix assertion failure in commit code due to lacking transaction creditsJan Kara1-20/+45
2012-06-01jbd2: use kmem_cache_zalloc wrapper instead of flagWanlong Gao1-2/+2
2012-03-28Merge tag 'ext4_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/t...Linus Torvalds1-9/+39
2012-03-20jbd2: remove the second argument of k[un]map_atomic()Cong Wang1-2/+2
2012-03-13jbd2: remove always true condition in __journal_try_to_free_buffer()Jan Kara1-4/+2
2012-03-13jbd2: declare __jbd2_journal_temp_unlink_buffer() staticJan Kara1-2/+2
2012-02-20jbd2: allocate transaction from separate slab cacheYongqiang Yang1-3/+33
2012-02-20jbd2: clear BH_Delay & BH_Unwritten in journal_unmap_bufferEric Sandeen1-0/+2
2012-01-04jbd2: fix hung processes in jbd2_journal_lock_updates()Jan Kara1-2/+3
2011-11-01jbd2: Unify log messages in jbd2 codeEryu Guan1-2/+2
2011-10-27jbd2: fix build when CONFIG_BUG is not enabledRandy Dunlap1-2/+2
2011-09-04jbd2: use gfp_t instead of intDan Carpenter1-3/+3
2011-09-04jbd2: add debugging information to jbd2_journal_dirty_metadata()Theodore Ts'o1-6/+52
2011-06-13jbd2: Fix oops in jbd2_journal_remove_journal_head()Jan Kara1-32/+35
2011-06-12jbd2: Remove obsolete parameters in the comments for some jbd2 functionsTao Ma1-2/+0
2011-05-25jbd2: fix a potential leak of a journal_head on an error pathDing Dinghua1-1/+1
2011-05-24jbd2: Fix comment to match the code in jbd2__journal_start()Eryu Guan1-1/+2
2011-05-24jbd2: fix sending of data flush on journal commitJan Kara1-0/+7
2011-05-22jbd2: Fix the wrong calculation of t_max_wait in update_t_max_waitTao Ma1-5/+5
2011-03-31Fix common misspellingsLucas De Marchi1-1/+1
2011-02-12jbd2: call __jbd2_log_start_commit with j_state_lock write lockedTheodore Ts'o1-7/+14
2011-01-13Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/jiko...Linus Torvalds1-1/+1
2010-12-18jbd2: remove unnecessary goto statementTheodore Ts'o1-2/+0
2010-12-18jbd2: use offset_in_page() instead of manual calculationTheodore Ts'o1-1/+1
2010-12-18jbd2: Fix a debug message in do_get_write_access()Theodore Ts'o1-1/+1
2010-12-10fix comment typos concerning "consistent"Uwe Kleine-König1-1/+1
2010-10-27jbd2: Add sanity check for attempts to start handle during umountTheodore Ts'o1-0/+1
2010-08-09ext4: clean up compiler warning in start_this_handle()Theodore Ts'o1-19/+27
2010-08-07Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/tytso/ext4Linus Torvalds1-92/+141
2010-08-03jbd2: Remove t_handle_lock from start_this_handle()Theodore Ts'o1-11/+22
2010-08-03jbd2: Change j_state_lock to be a rwlock_tTheodore Ts'o1-34/+40
2010-08-02jbd2: Use atomic variables to avoid taking t_handle_lock in jbd2_journal_stopTheodore Ts'o1-30/+39
2010-07-27jbd2: Remove __GFP_NOFAIL from jbd2 layerTheodore Ts'o1-19/+42
2010-07-15jbd2/ocfs2: Fix block checksumming when a buffer is used in several transactionsJan Kara1-3/+6
2010-05-16jbd2: Improve scalability by not taking j_state_lock in jbd2_journal_stop()Theodore Ts'o1-4/+1
2010-02-15jbd2: delay discarding buffers in journal_unmap_bufferdingdinghua1-12/+31
2009-08-17jbd2: Annotate transaction start also for jbd2_journal_restart()Jan Kara1-2/+3
2009-08-10jbd2: round commit timer up to avoid uncommitted transactionAndreas Dilger1-1/+1
2009-07-13jbd2: Fix a race between checkpointing code and journal_get_write_access()Jan Kara1-33/+35
2009-06-17jbd2: clean up jbd2_journal_try_to_free_buffers()Hisashi Hifumi1-49/+0
2009-03-25ext4: Use WRITE_SYNC for commits which are caused by fsync()Theodore Ts'o1-0/+2
2009-02-10jbd2: Avoid possible NULL dereference in jbd2_journal_begin_ordered_truncate()Jan Kara1-11/+31
2009-01-08Merge branch 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tyt...Linus Torvalds1-14/+46
2009-01-05jbd2: Add buffer triggersJoel Becker1-0/+47
2009-01-03ext4: add fsync batch tuning knobsTheodore Ts'o1-1/+3
2008-11-26jbd2: improve jbd2 fsync batchingJosef Bacik1-14/+44
2008-10-16ext4: Replace hackish ext4_mb_poll_new_transaction with commit callbackTheodore Ts'o1-0/+1
2008-08-11lockdep: rename map_[acquire|release]() => lock_map_[acquire|release]()Ingo Molnar1-2/+2
2008-08-11lockdep: map_acquirePeter Zijlstra1-2/+2
2008-07-11jbd2: Remove data=ordered mode support using jbd buffer headsJan Kara1-211/+6
2008-07-11jbd2: Implement data=ordered mode handling via inodesJan Kara1-0/+86
2008-07-13jbd2: fix race between jbd2_journal_try_to_free_buffers() and jbd2 commit tra...Mingming Cao1-4/+58
2008-04-17jdb2: replace remaining __FUNCTION__ occurrencesHarvey Harrison1-2/+2
2008-04-17jbd2: fix kernel-doc notationRandy Dunlap1-1/+2
2008-04-17jbd2: fix possible journal overflow issuesJosef Bacik1-3/+18
2008-04-17jbd2: fix the way the b_modified flag is clearedJosef Bacik1-0/+13
2008-01-28jbd2: sparse pointer use of zero as nullMingming Cao1-6/+6
2008-01-28jbd2: Use round-jiffies() function for the "5 second" ext4/jbd2 wakeupMingming Cao1-1/+1
2008-01-28jbd2: add lockdep supportMingming Cao1-0/+11
2008-01-28jbd2: jbd2 stats through procfsJohann Lombardi1-0/+9
2007-10-17JBD2/Ext4: Convert kmalloc to kzalloc in jbd2/ext4Mingming Cao1-2/+1
2007-10-17JBD2: replace jbd_kmalloc with kmalloc directly.Mingming Cao1-2/+2
2007-10-17JBD2: jbd2 slab allocation cleanupsMingming Cao1-7/+7
2007-05-09fix file specification in commentsUwe Kleine-König1-1/+1
2007-05-08header cleaning: don't include smp_lock.h when not usedRandy Dunlap1-1/+0
2006-12-07[PATCH] make fs/jbd2/transaction.c:__kbd2_journal_temp_unlink_buffer() staticAdrian Bunk1-0/+2
2006-10-28[PATCH] jbd2: journal_dirty_data re-check for unmapped buffersEric Sandeen1-1/+14