aboutsummaryrefslogtreecommitdiffstats
path: root/fs/gfs2/log.c
AgeCommit message (Expand)AuthorFilesLines
2023-12-27gfs2: Fix freeze consistency check in log_write_headerAndreas Gruenbacher1-1/+2
2023-12-21gfs2: Use wait_event_freezable_timeout() for freezable kthreadKevin Hao1-3/+1
2023-12-21gfs2: Add missing set_freezable() for freezable kthreadKevin Hao1-0/+1
2023-12-20gfs2: Lift withdraw check out of gfs2_ail1_emptyAndreas Gruenbacher1-5/+12
2023-12-20gfs2: Rename gfs2_withdrawn to gfs2_withdrawing_or_withdrawnAndreas Gruenbacher1-10/+11
2023-12-20gfs2: Minor gfs2_ail1_empty cleanupAndreas Gruenbacher1-8/+9
2023-09-05gfs2: Sanitize kthread stoppingAndreas Gruenbacher1-5/+4
2023-09-05gfs2: journal flush threshold fixes and cleanupAndreas Gruenbacher1-18/+16
2023-09-05gfs2: Fix logd wakeup on I/O errorAndreas Gruenbacher1-0/+1
2023-09-05gfs2: low-memory forced flush fixesAndreas Gruenbacher1-4/+4
2023-09-05gfs2: Switch to wait_event in gfs2_logdAndreas Gruenbacher1-12/+5
2023-07-03gfs2: Replace sd_freeze_state with SDF_FROZEN flagAndreas Gruenbacher1-5/+4
2023-07-03gfs2: Rework freeze / thaw logicAndreas Gruenbacher1-2/+0
2023-02-23Merge tag 'mm-stable-2023-02-20-13-37' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds1-3/+3
2023-01-22Revert "gfs2: stop using generic_writepages in gfs2_ail1_start_one"Andreas Gruenbacher1-1/+10
2023-01-18gfs2: replace obvious uses of b_page with b_folioMatthew Wilcox (Oracle)1-1/+1
2022-08-11Merge tag 'iomap-6.0-merge-2' of git://git.kernel.org/pub/scm/fs/xfs/xfs-linuxLinus Torvalds1-3/+2
2022-07-22gfs2: stop using generic_writepages in gfs2_ail1_start_oneChristoph Hellwig1-3/+2
2022-07-14fs/gfs2: Use the enum req_op and blk_opf_t typesBart Van Assche1-2/+2
2021-08-19gfs2: tiny cleanup in gfs2_log_reserveBob Peterson1-1/+1
2021-05-20gfs2: Clean up revokes on normal withdrawsBob Peterson1-3/+3
2021-04-29Merge tag 'gfs2-for-5.13' of git://git.kernel.org/pub/scm/linux/kernel/git/gf...Linus Torvalds1-10/+13
2021-04-09gfs2: Fix a number of kernel-doc warningsLee Jones1-9/+8
2021-04-08treewide: Change list_sort to use const pointersSami Tolvanen1-1/+1
2021-04-03gfs2: Replace gfs2_lblk_to_dblk with gfs2_get_extentAndreas Gruenbacher1-1/+5
2021-03-12gfs2: bypass log flush if the journal is not liveBob Peterson1-1/+1
2021-03-07gfs2: fix use-after-free in trans_drainBob Peterson1-0/+4
2021-02-23gfs2: Don't get stuck with I/O plugged in gfs2_ail1_flushBob Peterson1-2/+7
2021-02-23Merge branches 'rgrp-glock-sharing' and 'gfs2-revoke' from https://git.kernel...Andreas Gruenbacher1-219/+290
2021-02-22gfs2: Per-revoke accounting in transactionsAndreas Gruenbacher1-24/+90
2021-02-22gfs2: Rework the log space allocation logicAndreas Gruenbacher1-67/+95
2021-02-22gfs2: Minor calc_reserved cleanupAndreas Gruenbacher1-8/+5
2021-02-03gfs2: Move function gfs2_ail_empty_trAndreas Gruenbacher1-17/+17
2021-02-03gfs2: Get rid of current_tail()Andreas Gruenbacher1-34/+38
2021-02-03gfs2: Clean up gfs2_log_reserveAndreas Gruenbacher1-33/+25
2021-02-03gfs2: Don't wait for journal flush in clean_journalAndreas Gruenbacher1-3/+2
2021-02-03gfs2: Move lock flush locking to gfs2_trans_{begin,end}Andreas Gruenbacher1-25/+3
2021-02-03gfs2: Get rid of sd_reserving_logAndreas Gruenbacher1-7/+10
2021-02-03gfs2: Clean up on-stack transactionsAndreas Gruenbacher1-1/+1
2021-01-25gfs2: keep bios separate for each journalBob Peterson1-3/+3
2021-01-25Revert "GFS2: Re-add a call to log_flush_wait when flushing the journal"Bob Peterson1-1/+0
2021-01-19gfs2: Clean up ail2_emptyAndreas Gruenbacher1-17/+21
2021-01-19gfs2: Rename gfs2_{write => flush}_revokesAndreas Gruenbacher1-2/+2
2021-01-19gfs2: Some documentation updatesAndreas Gruenbacher1-13/+11
2021-01-19gfs2: Minor gfs2_write_revokes cleanupsAndreas Gruenbacher1-3/+5
2020-11-12gfs2: Fix case in which ail writes are done to jdata holesBob Peterson1-0/+2
2020-10-15gfs2: make gfs2_ail1_empty_one return the count of active itemsBob Peterson1-4/+8
2020-10-15gfs2: Wipe jdata and ail1 in gfs2_journal_wipe, formerly gfs2_meta_wipeBob Peterson1-1/+1
2020-10-15gfs2: add missing log_blocks trace points in gfs2_write_revokesBob Peterson1-2/+10
2020-10-14gfs2: Fix bad comment for trans_drainBob Peterson1-1/+1
2020-10-14gfs2: Make sure we don't miss any delayed withdrawsAndreas Gruenbacher1-30/+31
2020-08-24gfs2: add some much needed cleanup for log flushes that failBob Peterson1-0/+31
2020-08-07gfs2: Fix inaccurate commentBob Peterson1-1/+1
2020-07-03gfs2: eliminate GIF_ORDERED in favor of list_emptyBob Peterson1-6/+9
2020-06-30gfs2: fix trans slab error when withdraw occurs inside log_flushBob Peterson1-0/+10
2020-06-05gfs2: fix use-after-free on transaction ail listsBob Peterson1-2/+9
2020-06-05gfs2: new slab for transactionsBob Peterson1-4/+5
2020-06-05gfs2: initialize transaction tr_ailX_lists earlierBob Peterson1-2/+0
2020-06-05gfs2: instrumentation wrt log_flush stuckBob Peterson1-9/+25
2020-05-08gfs2: Grab glock reference sooner in gfs2_add_revokeAndreas Gruenbacher1-3/+3
2020-05-08gfs2: Fix use-after-free in gfs2_logd after withdrawBob Peterson1-0/+5
2020-03-30gfs2: Fix oversight in gfs2_ail1_flushBob Peterson1-1/+2
2020-03-27gfs2: instrumentation wrt ail1 stuckBob Peterson1-0/+40
2020-03-27gfs2: Switch to list_{first,last}_entryAndreas Gruenbacher1-3/+3
2020-03-06gfs2: Additional information when gfs2_ail1_flush withdrawsBob Peterson1-1/+4
2020-02-27gfs2: flesh out delayed withdraw for gfs2_log_flushBob Peterson1-4/+8
2020-02-27gfs2: drain the ail2 list after io errorsBob Peterson1-10/+61
2020-02-27gfs2: Withdraw in gfs2_ail1_flush if write_cache_pages failsBob Peterson1-7/+13
2020-02-27gfs2: Do log_flush in gfs2_ail_empty_gl even if ail list is emptyBob Peterson1-1/+1
2020-02-27gfs2: Issue revokes more intelligentlyBob Peterson1-38/+36
2020-02-10gfs2: log error reformBob Peterson1-4/+12
2020-02-10gfs2: clear ail1 list when gfs2 withdrawsBob Peterson1-4/+13
2020-02-10gfs2: Introduce concept of a pending withdrawBob Peterson1-13/+8
2020-02-10gfs2: Split gfs2_lm_withdraw into two functionsAndreas Gruenbacher1-8/+11
2020-01-28Revert "gfs2: eliminate tr_num_revoke_rm"Bob Peterson1-1/+2
2020-01-20gfs2: Fix incorrect variable nameAndreas Gruenbacher1-5/+5
2020-01-07gfs2: eliminate ssize parameter from gfs2_struct2blkBob Peterson1-8/+4
2019-11-21gfs2: Don't write log headers after file system withdrawBob Peterson1-1/+6
2019-11-14gfs2: fix infinite loop in gfs2_ail1_flush on io errorBob Peterson1-1/+2
2019-11-14gfs2: fix glock reference problem in gfs2_trans_remove_revokeBob Peterson1-0/+8
2019-11-14gfs2: make gfs2_log_shutdown staticBob Peterson1-1/+3
2019-11-12gfs2: Remove active journal side effect from gfs2_write_log_headerAndreas Gruenbacher1-1/+2
2019-06-27gfs2: eliminate tr_num_revoke_rmBob Peterson1-2/+1
2019-06-08Merge tag 'spdx-5.2-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/gre...Linus Torvalds1-4/+1
2019-06-06Revert "gfs2: Replace gl_revokes with a GLF flag"Bob Peterson1-3/+1
2019-06-05treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 398Thomas Gleixner1-4/+1
2019-05-07gfs2: read journal in large chunksAbhi Das1-2/+2
2019-05-07gfs2: Rename sd_log_le_{revoke,ordered}Andreas Gruenbacher1-7/+7
2019-05-07gfs2: Replace gl_revokes with a GLF flagBob Peterson1-1/+3
2019-05-07gfs2: Fix occasional glock use-after-freeAndreas Gruenbacher1-1/+2
2019-05-07gfs2: clean_journal improperly set sd_log_flush_headBob Peterson1-8/+16
2019-02-14Revert "gfs2: read journal in large chunks to locate the head"Bob Peterson1-2/+2
2018-12-11gfs2: Remove vestigial bd_opsBob Peterson1-1/+0
2018-12-11gfs2: read journal in large chunks to locate the headAbhi Das1-2/+2
2018-12-11gfs2: changes to gfs2_log_XXX_bioAbhi Das1-2/+2
2018-10-15gfs2: write revokes should traverse sd_ail1_list in reverseBob Peterson1-2/+2
2018-10-05gfs2: slow the deluge of io error messagesBob Peterson1-2/+5
2018-06-21gfs2: call ktime_get_coarse_real_ts64() directlyArnd Bergmann1-1/+1
2018-06-21gfs2: Don't withdraw under a spin lockAndreas Gruenbacher1-7/+19
2018-03-08GFS2: Make function gfs2_remove_from_ail staticBob Peterson1-1/+1
2018-01-23GFS2: Log the reason for log flushes in every log headerBob Peterson1-6/+8
2018-01-23GFS2: Introduce new gfs2_log_header_v2Bob Peterson1-19/+56
2018-01-22gfs2: Get rid of gfs2_log_header_inAndreas Gruenbacher1-1/+1
2017-12-22gfs2: Trim the ordered write list in gfs2_ordered_write()Abhi Das1-2/+5
2017-12-22GFS2: Reduce code redundancy writing log headersBob Peterson1-14/+32
2017-08-25GFS2: Withdraw for IO errors writing to the journal or statfsBob Peterson1-0/+9
2017-08-10gfs2: forcibly flush ail to relieve memory pressureAbhi Das1-0/+4
2017-07-05Merge tag 'gfs2-4.13.fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds1-3/+0
2017-06-20GFS2: Eliminate vestigial sd_log_flush_wrappedBob Peterson1-3/+0
2017-05-24gfs2: Make flush bios explicitely syncJan Kara1-1/+1
2017-02-21Merge tag 'gfs2-4.11.fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds1-6/+15
2017-01-27GFS2: Switch tr_touched to flag in transactionBob Peterson1-3/+3
2017-01-06GFS2: Wake up io waiters whenever a flush is doneBob Peterson1-1/+5
2017-01-05GFS2: Made logd daemon take into account log demandBob Peterson1-2/+7
2016-11-01block,fs: use REQ_* flags directlyChristoph Hellwig1-2/+2
2016-06-07gfs2: use bio op accessorsMike Christie1-4/+4
2015-12-14gfs2: clear journal live bit in gfs2_log_flushBenjamin Marzinski1-0/+3
2014-11-17GFS2: update freeze code to use freeze/thaw_super on all nodesBenjamin Marzinski1-21/+21
2014-05-14GFS2: remove transaction glockBenjamin Marzinski1-30/+63
2014-03-12GFS2: Re-add a call to log_flush_wait when flushing the journalBob Peterson1-0/+1
2014-02-25GFS2: Remove extra "if" in gfs2_log_flush()Steven Whitehouse1-5/+3
2014-02-24GFS2: Move log buffer accounting to transactionSteven Whitehouse1-43/+24
2014-02-24GFS2: Move log buffer lists into transactionSteven Whitehouse1-3/+25
2014-02-03GFS2: Plug on AIL flushSteven Whitehouse1-0/+4
2013-12-13GFS2: Fix use-after-free race when calling gfs2_remove_from_ailBob Peterson1-2/+2
2013-06-19GFS2: aggressively issue revokes in gfs2_log_flushBenjamin Marzinski1-4/+74
2013-04-08GFS2: replace gfs2_ail structure with gfs2_transBenjamin Marzinski1-47/+57
2013-01-29GFS2: Use ->writepages for ordered writesSteven Whitehouse1-40/+36
2012-05-02GFS2: eliminate log elements and simplifyBob Peterson1-6/+6
2012-04-24GFS2: Log code fixesSteven Whitehouse1-4/+0
2012-04-24GFS2: Remove bd_list_trSteven Whitehouse1-17/+0
2012-04-24GFS2: Clean up log write code pathSteven Whitehouse1-46/+11
2012-04-24GFS2: Drop "pull" argument from log_write_header()Steven Whitehouse1-9/+4
2012-03-09GFS2: Clean up log flush header writingSteven Whitehouse1-65/+66
2012-02-28GFS2: Make bd_cmp() staticSteven Whitehouse1-1/+1
2012-02-28GFS2: Sort the ordered write listBob Peterson1-0/+16
2012-02-28GFS2: Move two functions from log.c to lops.cSteven Whitehouse1-97/+4
2012-01-08Merge branch 'pm-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds1-2/+2
2011-11-21freezer: unexport refrigerator() and update try_to_freeze() slightlyTejun Heo1-2/+2
2011-11-08GFS2: Fix up REQ flagsSteven Whitehouse1-1/+1
2011-08-23block: separate priority boosting from REQ_METAChristoph Hellwig1-2/+2
2011-07-14GFS2: Resolve inode eviction and ail list interaction bugSteven Whitehouse1-0/+1
2011-05-21GFS2: Wait properly when flushing the ail listSteven Whitehouse1-3/+26
2011-05-03GFS2: Fix ail list traversalSteven Whitehouse1-6/+11
2011-04-20GFS2: Add an AIL writeback tracepointSteven Whitehouse1-0/+2
2011-04-20GFS2: Make writeback more responsive to system conditionsSteven Whitehouse1-80/+85
2011-04-20GFS2: Use filemap_fdatawrite() to write back the AILSteven Whitehouse1-10/+5
2011-03-24Merge branch 'for-2.6.39/core' of git://git.kernel.dk/linux-2.6-blockLinus Torvalds1-2/+2
2011-03-14GFS2: Update to AIL list lockingSteven Whitehouse1-1/+1
2011-03-11GFS2: introduce AIL lockDave Chinner1-14/+16
2011-03-10block: kill off REQ_UNPLUGJens Axboe1-2/+2
2010-10-19Merge branch 'v2.6.36-rc8' into for-2.6.37/barrierJens Axboe1-1/+1
2010-09-17GFS2: gfs2_logd should be using interruptible waitsSteven Whitehouse1-1/+1
2010-09-10gfs2: replace barriers with explicit flush / FUA usageChristoph Hellwig1-14/+5
2010-08-07block: unify flags for struct bio and struct requestChristoph Hellwig1-2/+2
2010-08-07block: BARRIER request should imply SYNCChristoph Hellwig1-1/+1
2010-05-21GFS2: Rework reclaiming unlinked dinodesBob Peterson1-1/+1
2010-05-06GFS2: Add some useful messagesSteven Whitehouse1-0/+1
2010-05-05GFS2: Various gfs2_logd improvementsBenjamin Marzinski1-70/+87
2010-03-11GFS2: Allow the number of committed revokes to temporarily be negativeBenjamin Marzinski1-2/+1
2009-12-03GFS2: Tag all metadata with jidSteven Whitehouse1-0/+2
2009-06-12GFS2: Add tracepointsSteven Whitehouse1-1/+8
2009-06-11gfs2: remove ->write_super and stop maintaining ->s_dirtChristoph Hellwig1-2/+0
2009-05-11GFS2: Update the rw flagsSteven Whitehouse1-3/+3
2009-03-24GFS2: Merge lock_dlm module into GFS2Steven Whitehouse1-1/+0
2008-09-26GFS2: Support for I/O barriersSteven Whitehouse1-3/+18
2008-06-27[GFS2] trivial sparse lock annotationsHarvey Harrison1-0/+2
2008-04-18[GFS2] fix assertion in log_refund()Roel Kluin1-1/+1
2008-03-31[GFS2] Only do lo_incore_commit onceBob Peterson1-1/+16
2008-01-25[GFS2] Fix assert in log codeSteven Whitehouse1-7/+4
2008-01-25[GFS2] Fix log block mapperSteven Whitehouse1-1/+1
2008-01-25[GFS2] Journal extent mappingBob Peterson1-13/+9
2008-01-25[GFS2] Remove function gfs2_get_blockBob Peterson1-1/+1
2008-01-25[GFS2] Fix runtime issue with UP kernelsFabio Massimo Di Nitto1-2/+0
2008-01-25[GFS2] Don't periodically update the jindexSteven Whitehouse1-13/+0
2008-01-25[GFS2] Move gfs2_logd into log.cSteven Whitehouse1-1/+55
2008-01-25[GFS2] Use atomic_t for journal free blocks counterSteven Whitehouse1-13/+13
2008-01-25[GFS2] Don't add glocks to the journalSteven Whitehouse1-10/+5
2008-01-25[GFS2] Add writepages for GFS2 jdataSteven Whitehouse1-1/+1
2008-01-25[GFS2] Remove useless i_cache from inodesSteven Whitehouse1-4/+2
2007-10-10[GFS2] Get superblock a different waySteven Whitehouse1-1/+2
2007-10-10[GFS2] Clean up journaled data writingSteven Whitehouse1-62/+83
2007-10-10[GFS2] Clean up gfs2_trans_add_revoke()Steven Whitehouse1-2/+2
2007-10-10[GFS2] Clean up ordered write codeSteven Whitehouse1-2/+55
2007-10-10[GFS2] Introduce gfs2_remove_from_ailSteven Whitehouse1-10/+21
2007-10-10[GFS2] Clean up invalidatepage/releasepageSteven Whitehouse1-2/+4
2007-10-10[GFS2] Detach buf data during in-place writebackBob Peterson1-0/+3
2007-10-10[GFS2] Revert part of earlier log.c changesBob Peterson1-11/+2
2007-07-09[GFS2] Small fixes to logging codeSteven Whitehouse1-5/+14
2007-07-09[GFS2] assertion failure after writing to journaled file, umountRobert Peterson1-24/+76
2007-07-09[GFS2] Journaled file write/unstuff bugRobert Peterson1-1/+14
2007-07-09[GFS2] fix jdata issuesBenjamin Marzinski1-1/+1
2007-07-09[GFS2] Make the log reserved blocks depend on block sizeSteven Whitehouse1-2/+3
2006-11-30[GFS2] fs/gfs2/log.c:log_bmap() fix printk format warningRyusuke Konishi1-1/+2
2006-11-30[GFS2] Move gfs2_meta_syncfs() into log.cSteven Whitehouse1-1/+20
2006-11-30[GFS2] Fix journal flush problemSteven Whitehouse1-7/+10
2006-10-20[GFS2] Fix bmap to map extents properlySteven Whitehouse1-2/+4
2006-10-12[GFS2] Fix bug where lock not heldSteven Whitehouse1-3/+2
2006-10-03[GFS2] Move logging code into log.c (mostly)Steven Whitehouse1-0/+109
2006-09-19[GFS2] Use list_for_each_entry_safe_reverse in gfs2_ail1_start()Steven Whitehouse1-10/+9