aboutsummaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_log.c
AgeCommit message (Expand)AuthorFilesLines
2025-11-12xfs: remove the xlog_in_core_t typedefChristoph Hellwig1-9/+9
2025-11-12xfs: remove l_iclog_headsChristoph Hellwig1-5/+6
2025-11-12xfs: remove the xlog_rec_header_t typedefChristoph Hellwig1-3/+3
2025-11-12xfs: remove xlog_in_core_2_tChristoph Hellwig1-15/+6
2025-11-12xfs: remove a very outdated comment from xlog_alloc_logChristoph Hellwig1-7/+0
2025-11-12xfs: cleanup xlog_alloc_log a bitChristoph Hellwig1-10/+8
2025-11-12xfs: don't use xlog_in_core_2_t in struct xlog_in_coreChristoph Hellwig1-37/+37
2025-11-12xfs: add a on-disk log header cycle array accessorChristoph Hellwig1-47/+16
2025-11-12xfs: add a XLOG_CYCLE_DATA_SIZE constantChristoph Hellwig1-9/+9
2025-09-29Merge tag 'xfs-merge-6.18' of git://git.kernel.org/pub/scm/fs/xfs/xfs-linuxLinus Torvalds1-17/+18
2025-09-19fs: WQ_PERCPU added to alloc_workqueue usersMarco Crivellari1-2/+1
2025-09-18xfs: remove the expr argument to XFS_TEST_ERRORChristoph Hellwig1-4/+4
2025-09-16xfs: fix log CRC mismatches between i386 and other architecturesChristoph Hellwig1-4/+4
2025-09-16xfs: remove the xfs_trans_header_t typedefChristoph Hellwig1-1/+1
2025-09-16xfs: remove the xlog_op_header_t typedefChristoph Hellwig1-8/+9
2025-07-24xfs: use better names for size members in xfs_log_vecChristoph Hellwig1-5/+5
2025-07-24xfs: remove the xlog_ticket_t typedefChristoph Hellwig1-3/+3
2025-05-07xfs: simplify building the bio in xlog_write_iclogChristoph Hellwig1-26/+6
2025-04-16xfs: Fix spelling mistake "drity" -> "dirty"Zhang Xianwei1-1/+1
2025-03-03xfs: add the zoned space allocatorChristoph Hellwig1-0/+4
2025-01-13xfs: remove redundant update for ticket->t_curr_res in xfs_log_ticket_regrantLong Li1-2/+0
2024-11-22xfs: prevent mount and log shutdown raceDave Chinner1-0/+11
2024-09-03xfs: Use xfs set and clear mp state helpersJohn Garry1-1/+1
2024-07-04xfs: grant heads track byte counts, not LSNsDave Chinner1-158/+88
2024-07-04xfs: pass the full grant head to accounting functionsDave Chinner1-80/+77
2024-07-04xfs: collapse xlog_state_set_callback in callerDave Chinner1-20/+11
2024-07-04xfs: l_last_sync_lsn is really AIL stateDave Chinner1-72/+9
2024-07-04xfs: ensure log tail is always up to dateDave Chinner1-3/+2
2024-07-04xfs: AIL doesn't need manual pushingDave Chinner1-130/+5
2024-04-15xfs: only clear log incompat flags at clean unmountDarrick J. Wong1-27/+1
2024-02-22xfs: remove the xfs_buftarg_t typedefChristoph Hellwig1-8/+8
2024-02-13xfs: use GFP_KERNEL in pure transaction contextsDave Chinner1-1/+2
2024-02-13xfs: convert remaining kmem_free() to kfree()Dave Chinner1-4/+4
2024-02-13xfs: convert kmem_free() for kvmalloc users to kvfree()Dave Chinner1-2/+2
2024-02-13xfs: convert kmem_zalloc() to kzalloc()Dave Chinner1-2/+3
2023-12-06xfs: use xfs_defer_pending objects to recover intent itemsDarrick J. Wong1-0/+1
2023-11-13xfs: up(ic_sema) if flushing data device failsLeah Rumancik1-11/+12
2023-09-12xfs: fix log recovery when unknown rocompat bits are setDarrick J. Wong1-17/+0
2023-06-29xfs: journal geometry is not properly bounds checkedDave Chinner1-32/+15
2022-11-30xfs: wait iclog complete before tearing down AILGuo Xuenan1-11/+25
2022-11-16xfs: Print XFS UUID on mount and umount events.Lukas Herbolt1-4/+6
2022-10-11treewide: use get_random_u32() when possibleJason A. Donenfeld1-1/+1
2022-09-19xfs: remove redundant else for clean codeZeng Heng1-5/+5
2022-08-05xfs: check return codes when flushing block devicesDarrick J. Wong1-2/+10
2022-07-31xfs: delete extra space and tab in blank lineXie Shaowen1-1/+1
2022-07-07xfs: xlog_sync() manually adjusts grant head spaceDave Chinner1-12/+23
2022-07-07xfs: convert log vector chain to use list headsDave Chinner1-5/+6
2022-07-02xfs: rework per-iclog header CIL reservationDave Chinner1-3/+6
2022-07-01xfs: prevent a UAF when log IO errors race with unmountDarrick J. Wong1-2/+7
2022-05-27xfs: move xfs_attr_use_log_assist out of xfs_log.cDarrick J. Wong1-41/+0
2022-05-27xfs: warn about LARP once per mountDarrick J. Wong1-2/+2
2022-05-11xfs: Add xfs_attr_set_deferred and xfs_attr_remove_deferredAllison Henderson1-0/+41
2022-04-21Merge branch 'guilt/xlog-write-rework' into xfs-5.19-for-nextDave Chinner1-441/+323
2022-04-21xfs: convert shutdown reasons to unsigned.Dave Chinner1-1/+1
2022-04-21xfs: xlog_write() doesn't need optype anymoreDave Chinner1-3/+1
2022-04-21xfs: xlog_write() no longer needs contwr stateDave Chinner1-18/+10
2022-04-21xfs: remove xlog_verify_dest_ptrChristoph Hellwig1-34/+1
2022-04-21xfs: introduce xlog_write_partial()Dave Chinner1-228/+196
2022-04-21xfs: introduce xlog_write_full()Dave Chinner1-3/+66
2022-04-21xfs: change the type of ic_datapChristoph Hellwig1-4/+3
2022-04-21xfs: pass lv chain length into xlog_write()Dave Chinner1-30/+5
2022-04-21xfs: log ticket region debug is largely uselessDave Chinner1-101/+6
2022-04-21xfs: reserve space and initialise xlog_op_header in item formattingDave Chinner1-38/+77
2022-04-21xfs: log tickets don't need log client idDave Chinner1-39/+8
2022-04-21xfs: embed the xlog_op_header in the commit recordDave Chinner1-16/+6
2022-04-21xfs: embed the xlog_op_header in the unmount recordDave Chinner1-11/+28
2022-04-21xfs: only CIL pushes require a start recordDave Chinner1-45/+45
2022-04-01Merge tag 'xfs-5.18-merge-4' of git://git.kernel.org/pub/scm/fs/xfs/xfs-linuxLinus Torvalds1-51/+58
2022-03-29xfs: drop async cache flushes from CIL commits.Dave Chinner1-25/+11
2022-03-29xfs: shutdown during log recovery needs to mark the log shutdownDave Chinner1-8/+10
2022-03-29xfs: xfs_do_force_shutdown needs to block racing shutdownsDave Chinner1-0/+1
2022-03-29xfs: log shutdown triggers should only shut down the logDave Chinner1-9/+23
2022-03-29xfs: run callbacks before waking waiters in xlog_state_shutdown_callbacksDave Chinner1-9/+13
2022-03-24Merge tag 'xfs-5.18-merge-2' of git://git.kernel.org/pub/scm/fs/xfs/xfs-linuxLinus Torvalds1-3/+2
2022-03-20xfs: log items should have a xlog pointer, not a mountDave Chinner1-1/+1
2022-03-20xfs: log worker needs to start before intent/unlink recoveryDave Chinner1-2/+1
2022-02-02block: pass a block_device and opf to bio_initChristoph Hellwig1-7/+7
2021-10-22xfs: rename _zone variables to _cacheDarrick J. Wong1-3/+3
2021-10-22xfs: remove kmem_zone typedefDarrick J. Wong1-1/+1
2021-08-19xfs: convert remaining mount flags to state flagsDave Chinner1-14/+17
2021-08-19xfs: convert mount flags to featuresDave Chinner1-7/+7
2021-08-19xfs: replace xfs_sb_version checks with feature flag checksDave Chinner1-9/+9
2021-08-16xfs: AIL needs asynchronous CIL forcingDave Chinner1-17/+21
2021-08-16xfs: order CIL checkpoint start recordsDave Chinner1-0/+1
2021-08-16xfs: attach iclog callbacks in xlog_cil_set_ctx_write_state()Dave Chinner1-31/+16
2021-08-16xfs: pass a CIL context to xlog_write()Dave Chinner1-7/+11
2021-08-16xfs: move xlog_commit_record to xfs_log_cil.cDave Chinner1-31/+0
2021-08-16xfs: log head and tail aren't reliable during shutdownDave Chinner1-24/+27
2021-08-16xfs: don't run shutdown callbacks on active iclogsDave Chinner1-4/+31
2021-08-16xfs: separate out log shutdown callback processingDave Chinner1-15/+38
2021-08-16xfs: rework xlog_state_do_callback()Dave Chinner1-43/+53
2021-08-16xfs: make forced shutdown processing atomicDave Chinner1-55/+45
2021-08-16xfs: convert log flags to an operational state fieldDave Chinner1-35/+23
2021-08-16xfs: move recovery needed state updates to xfs_log_mount_finishDave Chinner1-8/+16
2021-08-16xfs: XLOG_STATE_IOERROR must dieDave Chinner1-78/+30
2021-08-16xfs: convert XLOG_FORCED_SHUTDOWN() to xlog_is_shutdown()Dave Chinner1-16/+16
2021-08-09xfs: clear log incompat feature bits when the log is idleDarrick J. Wong1-0/+49
2021-08-09xfs: allow setting and clearing of log incompat feature flagsDarrick J. Wong1-0/+14
2021-08-09xfs: replace kmem_alloc_large() with kvmalloc()Dave Chinner1-2/+2
2021-08-09xfs: remove kmem_alloc_io()Dave Chinner1-2/+1
2021-07-29xfs: limit iclog tail updatesDave Chinner1-13/+37
2021-07-29xfs: avoid unnecessary waits in xfs_log_force_lsn()Dave Chinner1-5/+37
2021-07-29xfs: log forces imply data device cache flushesDave Chinner1-13/+34
2021-07-29xfs: factor out forced iclog flushesDave Chinner1-24/+18
2021-07-29xfs: fix ordering violation between cache flushes and tail updatesDave Chinner1-10/+26
2021-07-29xfs: fold __xlog_state_release_iclog into xlog_state_release_iclogDave Chinner1-28/+17
2021-07-29xfs: external logs need to flush data deviceDave Chinner1-8/+11
2021-07-29xfs: flush data dev on external log writeDave Chinner1-1/+1
2021-07-02Merge tag 'xfs-5.14-merge-6' of git://git.kernel.org/pub/scm/fs/xfs/xfs-linuxLinus Torvalds1-157/+116
2021-06-25xfs: Fix a CIL UAF by getting get rid of the iclog callback lockDave Chinner1-28/+6
2021-06-25xfs: remove callback dequeue loop from xlog_state_do_iclog_callbacksDave Chinner1-10/+6
2021-06-25xfs: don't nest icloglock inside ic_callback_lockDave Chinner1-14/+4
2021-06-21xfs: force the log offline when log intent item recovery failsDarrick J. Wong1-0/+3
2021-06-21xfs: add iclog state trace eventsDave Chinner1-0/+18
2021-06-21xfs: xfs_log_force_lsn isn't passed a LSNDave Chinner1-13/+14
2021-06-21xfs: journal IO cache flush reductionsDave Chinner1-43/+23
2021-06-21xfs: remove need_start_rec parameter from xlog_write()Dave Chinner1-22/+22
2021-06-21xfs: remove xfs_blkdev_issue_flushDave Chinner1-1/+1
2021-06-18xfs: separate CIL commit record IODave Chinner1-3/+5
2021-06-18xfs: Fix 64-bit division on 32-bit in xlog_state_switch_iclogs()Geert Uytterhoeven1-2/+2
2021-06-18xfs: log stripe roundoff is a property of the logDave Chinner1-34/+25
2021-05-26xfs: Fix fall-through warnings for ClangGustavo A. R. Silva1-0/+1
2021-05-04xfs: don't allow log writes if the data device is readonlyDarrick J. Wong1-4/+6
2021-02-10xfs: fix boolreturn.cocci warningskernel test robot1-1/+1
2021-02-03xfs: set WQ_SYSFS on all workqueues in debug modeDarrick J. Wong1-2/+3
2021-02-01xfs: fix unused log variable in xfs_log_cover()Brian Foster1-3/+2
2021-01-22xfs: fold sbcount quiesce logging into log coveringBrian Foster1-2/+18
2021-01-22xfs: don't reset log idle state on covering checkpointsBrian Foster1-3/+6
2021-01-22xfs: cover the log during log quiesceBrian Foster1-3/+46
2021-01-22xfs: separate log cleaning from log quiesceBrian Foster1-1/+7
2021-01-22xfs: lift writable fs check up into log worker taskBrian Foster1-10/+8
2021-01-22xfs: sync lazy sb accounting on quiesce of read-only mountsBrian Foster1-8/+20
2021-01-22xfs: don't drain buffer lru on freeze and read-only remountBrian Foster1-2/+4
2021-01-22xfs: rename xfs_wait_buftarg() to xfs_buftarg_drain()Brian Foster1-3/+3
2020-10-07xfs: expose the log push thresholdDarrick J. Wong1-10/+30
2020-09-23xfs: clean up calculation of LR header blocksGao Xiang1-3/+1
2020-07-28xfs: Modify xlog_ticket_alloc() to use kernel's MM APICarlos Maiolino1-6/+3
2020-03-27xfs: don't write a corrupt unmount record to force summary counter recalcDarrick J. Wong1-13/+14
2020-03-27xfs: don't allow log IO to be throttledDave Chinner1-1/+9
2020-03-27xfs: remove some stale comments from the log codeDave Chinner1-46/+13
2020-03-27xfs: refactor unmount record writingDave Chinner1-20/+29
2020-03-27xfs: merge xlog_commit_record with xlog_write_doneDave Chinner1-33/+10
2020-03-27xfs: split xlog_ticket_doneChristoph Hellwig1-57/+27
2020-03-27xfs: kill XLOG_TIC_INITEDDave Chinner1-4/+0
2020-03-27xfs: refactor and split xfs_log_done()Dave Chinner1-43/+21
2020-03-27xfs: re-order initial space accounting checks in xlog_writeDave Chinner1-21/+10
2020-03-27xfs: don't try to write a start record into every iclogDave Chinner1-40/+37
2020-03-26xfs: shutdown on failure to add page to log bioBrian Foster1-3/+9
2020-03-23xfs: remove xlog_state_want_syncChristoph Hellwig1-32/+18
2020-03-23xfs: move the ioerror check out of xlog_state_clean_iclogChristoph Hellwig1-4/+5
2020-03-23xfs: refactor xlog_state_clean_iclogChristoph Hellwig1-92/+88
2020-03-23xfs: remove the aborted parameter to xlog_state_done_syncingChristoph Hellwig1-32/+16
2020-03-23xfs: simplify log shutdown checking in xfs_log_release_iclogChristoph Hellwig1-14/+6
2020-03-23xfs: simplify the xfs_log_release_iclog calling conventionChristoph Hellwig1-6/+4
2020-03-23xfs: factor out a xlog_wait_on_iclog helperChristoph Hellwig1-45/+31
2020-03-13xfs: cleanup xfs_log_unmount_writeChristoph Hellwig1-16/+16
2020-03-13xfs: remove dead code from xfs_log_unmount_writeChristoph Hellwig1-32/+3
2020-03-13xfs: remove the unused return value from xfs_log_unmount_writeChristoph Hellwig1-10/+5
2020-03-02xfs: fix iclog release error check race with shutdownBrian Foster1-4/+9
2019-12-03xfs: fix mount failure crash on invalid iclog memory accessBrian Foster1-0/+2
2019-11-18xfs: Remove kmem_zone_free() wrapperCarlos Maiolino1-1/+1
2019-11-10xfs: annotate functions that trip static checker locking checksDarrick J. Wong1-0/+2
2019-11-05xfs: use super s_id instead of struct xfs_mount m_fsnameIan Kent1-1/+1
2019-10-21xfs: remove the XLOG_STATE_DO_CALLBACK stateChristoph Hellwig1-65/+11
2019-10-21xfs: turn ic_state into an enumChristoph Hellwig1-83/+76
2019-10-21xfs: remove dead ifdef XFSERRORDEBUG codeChristoph Hellwig1-13/+0
2019-10-21xfs: call xlog_state_release_iclog with l_icloglock heldChristoph Hellwig1-98/+90
2019-10-21xfs: move the locking from xlog_state_finish_copy to the callersChristoph Hellwig1-9/+7
2019-10-21xfs: remove the unused ic_io_size field from xlog_in_coreChristoph Hellwig1-4/+2
2019-10-21xfs: pass the correct flag to xlog_write_iclogChristoph Hellwig1-1/+1
2019-10-06xfs: assure zeroed memory buffers for certain kmem allocationsBill O'Donnell1-1/+1
2019-09-05xfs: push the grant head when the log head moves forwardDave Chinner1-25/+47
2019-09-05xfs: push iclog state cleaning into xlog_state_clean_logDave Chinner1-24/+33
2019-09-05xfs: factor iclog state processing out of xlog_state_do_callback()Dave Chinner1-98/+98
2019-09-05xfs: factor callbacks out of xlog_state_do_callback()Dave Chinner1-28/+48
2019-09-05xfs: factor debug code out of xlog_state_do_callback()Dave Chinner1-35/+44
2019-09-05xfs: fix missed wakeup on l_flush_waitRik van Riel1-5/+4
2019-09-05xfs: push the AIL in xlog_grant_head_wakeDave Chinner1-1/+28
2019-08-26xfs: add kmem_alloc_io()Dave Chinner1-2/+3
2019-08-26fs: xfs: Remove KM_NOSLEEP and KM_SLEEP.Tetsuo Handa1-2/+1
2019-08-03fs: xfs: xfs_log: Don't use KM_MAYFAIL at xfs_log_reserve().Tetsuo Handa1-4/+1
2019-07-03fs: xfs: xfs_log: Change return type from int to voidHariprasad Kelam1-6/+2
2019-06-28xfs: fix iclog allocation sizeChristoph Hellwig1-1/+2
2019-06-28xfs: remove unused header filesEric Sandeen1-4/+0
2019-06-28xfs: use a list_head for iclog callbacksChristoph Hellwig1-42/+9
2019-06-28xfs: stop using XFS_LI_ABORTED as a parameter flagChristoph Hellwig1-14/+11
2019-06-28xfs: move the log ioend workqueue to struct xlogChristoph Hellwig1-2/+11
2019-06-28xfs: use bios directly to write log buffersChristoph Hellwig1-122/+108
2019-06-28xfs: make use of the l_targ field in struct xlogChristoph Hellwig1-3/+3
2019-06-28xfs: remove the syncing argument from xlog_verify_iclogChristoph Hellwig1-8/+6
2019-06-28xfs: update both stat counters together in xlog_syncChristoph Hellwig1-1/+1
2019-06-28xfs: factor out iclog size calculation from xlog_syncChristoph Hellwig1-26/+41
2019-06-28xfs: factor out splitting of an iclog from xlog_syncChristoph Hellwig1-30/+33
2019-06-28xfs: factor out log buffer writing from xlog_syncChristoph Hellwig1-80/+45
2019-06-28xfs: don't use REQ_PREFLUSH for split log writesChristoph Hellwig1-1/+1
2019-06-28xfs: remove XLOG_STATE_IOABORTChristoph Hellwig1-9/+11
2019-06-28xfs: reformat xlog_get_lowest_lsnChristoph Hellwig1-14/+10
2019-06-28xfs: cleanup xlog_get_iclog_buffer_sizeChristoph Hellwig1-41/+11
2019-06-28xfs: remove the l_iclog_size_log field from struct xlogChristoph Hellwig1-9/+0
2019-06-28xfs: remove the no-op spinlock_destroy stubChristoph Hellwig1-2/+0