aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/tree-log.c
AgeCommit message (Expand)AuthorFilesLines
8 daysbtrfs: tracepoints: add trace event for btrfs_sync_log()Filipe Manana1-0/+15
8 daysbtrfs: tracepoints: add trace event for btrfs_log_new_name()Filipe Manana1-2/+5
8 daysbtrfs: tracepoints: add trace event for btrfs_record_new_subvolume()Filipe Manana1-0/+2
8 daysbtrfs: tracepoints: add trace event for btrfs_record_snapshot_destroy()Filipe Manana1-0/+2
8 daysbtrfs: tracepoints: add trace event for btrfs_record_unlink_dir()Filipe Manana1-0/+2
8 daysbtrfs: tracepoints: add trace event for log_new_delayed_dentries()Filipe Manana1-0/+10
8 daysbtrfs: use simple assertions where enough during inode logging and replayFilipe Manana1-3/+2
8 daysbtrfs: tracepoints: add trace event for log_conflicting_inodes()Filipe Manana1-0/+9
8 daysbtrfs: tracepoints: add trace event for add_conflicting_inode()Filipe Manana1-13/+26
8 daysbtrfs: tracepoints: add trace event for log_new_dir_dentries()Filipe Manana1-2/+8
8 daysbtrfs: tracepoints: add trace event for log_all_new_ancestors()Filipe Manana1-11/+23
8 daysbtrfs: tracepoints: add trace event for btrfs_log_all_parents()Filipe Manana1-9/+20
8 daysbtrfs: tracepoints: add trace event for btrfs_log_inode()Filipe Manana1-5/+11
8 daysbtrfs: use a named enum for the log mode in inode log functionsFilipe Manana1-37/+25
8 daysbtrfs: tracepoints: add trace event for btrfs_log_inode_parent()Filipe Manana1-9/+22
2026-04-07btrfs: tag as unlikely if statements that check for fs in error stateFilipe Manana1-1/+1
2026-04-07btrfs: make btrfs_free_log() and btrfs_free_log_root_tree() return voidFilipe Manana1-5/+2
2026-04-07btrfs: remove atomic parameter from btrfs_buffer_uptodate()Qu Wenruo1-1/+1
2026-04-07btrfs: revalidate cached tree blocks on the uptodate pathZhengYuan Huang1-1/+1
2026-04-07btrfs: prefer IS_ERR_OR_NULL() over manual NULL checkPhilipp Hahn1-1/+1
2026-04-07btrfs: pass a btrfs inode to tree-log.c:fill_inode_item()Filipe Manana1-25/+23
2026-04-07btrfs: pass literal booleans to functions that take boolean argumentsFilipe Manana1-2/+2
2026-04-07btrfs: rename btrfs_csum_file_blocks() to btrfs_insert_data_csums()Qu Wenruo1-3/+3
2026-04-07btrfs: rename btrfs_ordered_extent::list to csum_listQu Wenruo1-1/+1
2026-04-07btrfs: remove max_mirrors argument from write_all_supers()Filipe Manana1-1/+1
2026-04-07btrfs: pass transaction handle to write_all_supers()Filipe Manana1-1/+1
2026-03-28Merge tag 'for-7.0-rc5-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds1-33/+65
2026-03-23btrfs: fix zero size inode with non-zero size after log replayFilipe Manana1-33/+65
2026-03-21Merge tag 'for-7.0-rc4-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds1-0/+21
2026-03-17btrfs: check for NULL root after calls to btrfs_csum_root()Filipe Manana1-0/+21
2026-03-16Merge tag 'for-7.0-rc4-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds1-0/+6
2026-03-13btrfs: log new dentries when logging parent dir of a conflicting inodeFilipe Manana1-0/+6
2026-02-21treewide: Replace kmalloc with kmalloc_obj for non-scalar typesKees Cook1-3/+3
2026-02-03btrfs: use the btrfs_extent_map_end() helper everywhereFilipe Manana1-1/+1
2026-01-20btrfs: fix Wmaybe-uninitialized warning in replay_one_buffer()Qiang Ma1-1/+1
2026-01-06btrfs: fix NULL pointer dereference in do_abort_log_replay()Suchit Karunakaran1-1/+1
2025-12-16btrfs: always detect conflicting inodes when logging inode refsFilipe Manana1-4/+2
2025-12-08btrfs: do not skip logging new dentries when logging a new nameFilipe Manana1-8/+0
2025-12-08btrfs: don't log conflicting inode if it's a dir moved in the current transac...Filipe Manana1-0/+38
2025-11-25btrfs: remove unnecessary inode key in btrfs_log_all_parents()Filipe Manana1-8/+4
2025-11-25btrfs: remaining BTRFS_PATH_AUTO_FREE conversionsDavid Sterba1-3/+1
2025-11-25btrfs: reduce arguments to btrfs_del_inode_ref_in_log()Filipe Manana1-5/+5
2025-11-25btrfs: remove root argument from btrfs_del_dir_entries_in_log()Filipe Manana1-1/+1
2025-11-24btrfs: use bool type for btrfs_path members used as booleansFilipe Manana1-10/+10
2025-11-24btrfs: make a few more ASSERTs verboseDavid Sterba1-15/+31
2025-11-24btrfs: relax btrfs_inode::ordered_tree_lock IRQ locking contextQu Wenruo1-2/+2
2025-11-24btrfs: headers cleanup to remove unnecessary local includesQu Wenruo1-0/+1
2025-11-24btrfs: apply the AUTO_K(V)FREE macros throughout the codeMiquel Sabaté Solà1-27/+16
2025-11-24btrfs: use the key format macros when printing keysFilipe Manana1-20/+18
2025-11-24btrfs: fix trivial -Wshadow warningsDavid Sterba1-3/+0
2025-11-11Merge tag 'for-6.18-rc5-tag' of git://git.kernel.org/pub/scm/linux/kernel/git...Linus Torvalds1-1/+1
2025-11-05btrfs: do not update last_log_commit when logging inode due to a new nameFilipe Manana1-1/+1
2025-11-04Merge tag 'for-6.18-rc4-tag' of git://git.kernel.org/pub/scm/linux/kernel/git...Linus Torvalds1-0/+3
2025-10-30btrfs: set inode flag BTRFS_INODE_COPY_EVERYTHING when logging new nameFilipe Manana1-0/+3
2025-10-03Merge tag 'docs-6.18' of git://git.lwn.net/linuxLinus Torvalds1-1/+1
2025-09-23btrfs: add unlikely annotations to branches leading to transaction abortDavid Sterba1-11/+11
2025-09-23btrfs: more trivial BTRFS_PATH_AUTO_FREE conversionsSun YangKai1-58/+33
2025-09-23btrfs: use kmalloc_array() for open-coded arithmetic in kmalloc()Miquel Sabaté Solà1-6/+3
2025-09-23btrfs: simplify inline extent end calculation at replay_one_extent()Filipe Manana1-4/+1
2025-09-23btrfs: fix comment about nbytes increase at replay_one_extent()Filipe Manana1-9/+4
2025-09-23btrfs: dump detailed info and specific messages on log replay failuresFilipe Manana1-86/+346
2025-09-23btrfs: abort transaction if we fail to update inode in log replay dir fixupFilipe Manana1-0/+2
2025-09-23btrfs: abort transaction if we fail to find dir item during log replayFilipe Manana1-1/+3
2025-09-23btrfs: remove pointless inode lookup when processing extrefs during log replayFilipe Manana1-13/+1
2025-09-23btrfs: stop passing inode object IDs to __add_inode_ref() in log replayFilipe Manana1-21/+15
2025-09-23btrfs: add path for subvolume tree changes to struct walk_controlFilipe Manana1-167/+156
2025-09-23btrfs: remove redundant path release when overwriting item during log replayFilipe Manana1-1/+0
2025-09-23btrfs: remove redundant path release when processing dentry during log replayFilipe Manana1-1/+0
2025-09-23btrfs: avoid unnecessary path allocation when replaying a dir itemFilipe Manana1-9/+1
2025-09-23btrfs: avoid path allocations when dropping extents during log replayFilipe Manana1-0/+2
2025-09-23btrfs: avoid unnecessary path allocation at fixup_inode_link_count()Filipe Manana1-7/+3
2025-09-23btrfs: add current log leaf, key and slot to struct walk_controlFilipe Manana1-129/+126
2025-09-23btrfs: use the inode item boolean everywhere in overwrite_item()Filipe Manana1-5/+5
2025-09-23btrfs: use level argument in log tree walk callback replay_one_buffer()Filipe Manana1-5/+3
2025-09-23btrfs: use level argument in log tree walk callback process_one_buffer()Filipe Manana1-2/+1
2025-09-23btrfs: pass walk_control structure to overwrite_item()Filipe Manana1-6/+7
2025-09-23btrfs: pass walk_control structure to drop_one_dir_item() and helpersFilipe Manana1-21/+23
2025-09-23btrfs: pass walk_control structure to replay_one_dir_item() and replay_one_na...Filipe Manana1-8/+8
2025-09-23btrfs: pass walk_control structure to add_inode_ref() and helpersFilipe Manana1-24/+23
2025-09-23btrfs: pass walk_control structure to replay_one_extent()Filipe Manana1-3/+4
2025-09-23btrfs: pass walk_control structure to check_item_in_log()Filipe Manana1-8/+8
2025-09-23btrfs: pass walk_control structure to replay_dir_deletes()Filipe Manana1-14/+14
2025-09-23btrfs: move up the definition of struct walk_controlFilipe Manana1-52/+51
2025-09-23btrfs: pass walk_control structure to replay_xattr_deletes()Filipe Manana1-6/+7
2025-09-23btrfs: always drop log root tree reference in btrfs_replay_log()Filipe Manana1-1/+0
2025-09-23btrfs: stop setting log_root_tree->log_root to NULL in btrfs_recover_log_trees()Filipe Manana1-1/+0
2025-09-23btrfs: stop passing transaction parameter to log tree walk functionsFilipe Manana1-14/+14
2025-09-23btrfs: deduplicate log root free in error paths from btrfs_recover_log_trees()Filipe Manana1-4/+1
2025-09-23btrfs: add and use a log root field to struct walk_controlFilipe Manana1-27/+35
2025-09-23btrfs: rename root to log in walk_down_log_tree() and walk_up_log_tree()Filipe Manana1-6/+5
2025-09-23btrfs: rename replay_dest member of struct walk_control to rootFilipe Manana1-15/+17
2025-09-23btrfs: use booleans in walk control structure for log replayFilipe Manana1-9/+14
2025-09-23btrfs: fix typos in comments and stringsDavid Sterba1-2/+2
2025-09-22btrfs: convert several int parameters to boolDavid Sterba1-3/+3
2025-09-22btrfs: collapse unaccount_log_buffer() into clean_log_buffer()Filipe Manana1-30/+21
2025-09-22btrfs: use local key variable to pass arguments in replay_one_extent()Filipe Manana1-3/+1
2025-09-22btrfs: process inline extent earlier in replay_one_extent()Filipe Manana1-164/+163
2025-09-22btrfs: exit early when replaying hole file extent item from a log treeFilipe Manana1-133/+124
2025-09-22btrfs: abort transaction where errors happen during log tree replayFilipe Manana1-51/+186
2025-09-22btrfs: return real error from read_alloc_one_name() in drop_one_dir_item()Filipe Manana1-1/+1
2025-09-22btrfs: use local variable for the transaction handle in replay_one_buffer()Filipe Manana1-17/+11
2025-09-22btrfs: abort transaction in the process_one_buffer() log tree walk callbackFilipe Manana1-4/+16
2025-09-22btrfs: abort transaction on specific error places when walking log treeFilipe Manana1-5/+28
2025-09-15btrfs: fix invalid extref key setup when replaying dentryFilipe Manana1-1/+1
2025-08-22btrfs: avoid load/store tearing races when checking if an inode was loggedFilipe Manana1-4/+21
2025-08-22btrfs: fix race between setting last_dir_index_offset and inode loggingFilipe Manana1-15/+2
2025-08-22btrfs: fix race between logging inode and checking if it was logged beforeFilipe Manana1-6/+30
2025-08-18docs: Remove remainders of reiserfsDavid Sterba1-1/+1
2025-08-07btrfs: error on missing block group when unaccounting log tree extent buffersFilipe Manana1-12/+7
2025-08-06btrfs: fix log tree replay failure due to file with 0 links and extentsFilipe Manana1-18/+30
2025-07-22btrfs: use saner variable type and name to indicate extrefs at add_inode_ref()Filipe Manana1-5/+4
2025-07-22btrfs: don't skip remaining extrefs if dir not found during log replayFilipe Manana1-4/+14
2025-07-22btrfs: don't ignore inode missing when replaying log treeFilipe Manana1-2/+12
2025-07-22btrfs: populate otime when logging an inode itemQu Wenruo1-0/+3
2025-07-22btrfs: tree-log: don't use token set/get accessors in fill_inode_item()David Sterba1-29/+19
2025-07-21btrfs: add btrfs prefix to is_fstree() and make it return boolFilipe Manana1-1/+1
2025-07-21btrfs: split inode extref processing from __add_inode_ref() into a helperFilipe Manana1-57/+74
2025-07-21btrfs: split inode ref processing from __add_inode_ref() into a helperFilipe Manana1-44/+62
2025-07-21btrfs: remove unused parameters from btrfs_lookup_inode_extref()Sun YangKai1-3/+1
2025-07-21btrfs: tree-log: add and rename extent bits for dirty_log_pages treeDavid Sterba1-6/+6
2025-07-21btrfs: use refcount_t type for the extent buffer reference counterFilipe Manana1-2/+2
2025-07-21btrfs: switch del_all argument of replay_dir_deletes() from int to boolFilipe Manana1-6/+5
2025-07-21btrfs: pass NULL index to btrfs_del_inode_ref() where not neededFilipe Manana1-3/+1
2025-07-21btrfs: allocate scratch eb earlier at btrfs_log_new_name()Filipe Manana1-4/+11
2025-07-21btrfs: allocate path earlier at btrfs_log_new_name()Filipe Manana1-7/+9
2025-07-21btrfs: allocate path earlier at btrfs_del_dir_entries_in_log()Filipe Manana1-9/+9
2025-07-21btrfs: assert we join log transaction at btrfs_del_dir_entries_in_log()Filipe Manana1-1/+2
2025-07-21btrfs: use btrfs_del_item() at del_logged_dentry()Filipe Manana1-1/+1
2025-07-21btrfs: assert we join log transaction at btrfs_del_inode_ref_in_log()Filipe Manana1-1/+2
2025-07-21btrfs: simplify error detection flow during log replayFilipe Manana1-24/+29
2025-07-21btrfs: remove redundant path release when replaying a log treeFilipe Manana1-2/+0
2025-07-21btrfs: abort transaction during log replay if walk_log_tree() failedFilipe Manana1-2/+5
2025-07-21btrfs: unfold transaction aborts when replaying log treesFilipe Manana1-2/+6
2025-06-27btrfs: record new subvolume in parent dir earlier to avoid dir logging racesFilipe Manana1-0/+2
2025-06-27btrfs: fix inode lookup error handling during log replayFilipe Manana1-65/+62
2025-06-27btrfs: fix iteration of extrefs during log replayFilipe Manana1-2/+2
2025-06-27btrfs: fix missing error handling when searching for inode refs during log re...Filipe Manana1-1/+3
2025-06-19btrfs: don't silently ignore unexpected extent type when replaying logFilipe Manana1-1/+4
2025-06-19btrfs: fix invalid inode pointer dereferences during log replayFilipe Manana1-8/+6
2025-05-15btrfs: use list_first_entry() everywhereDavid Sterba1-7/+7
2025-05-15btrfs: rename remaining exported extent map functionsFilipe Manana1-2/+2
2025-05-15btrfs: rename functions to allocate and free extent mapsFilipe Manana1-2/+2
2025-05-15btrfs: rename extent map functions to get block start, end and check if in treeFilipe Manana1-2/+2
2025-05-15btrfs: rename exported extent map compression functionsFilipe Manana1-2/+2
2025-05-15btrfs: rename the functions to init and release an extent io treeFilipe Manana1-2/+2
2025-05-15btrfs: add btrfs prefix to main lock, try lock and unlock extent functionsFilipe Manana1-4/+4
2025-05-15btrfs: fix fsync of files with no hard links not persisting deletionFilipe Manana1-8/+16
2025-03-18btrfs: remove end_no_trans label from btrfs_log_inode_parent()Filipe Manana1-18/+10
2025-03-18btrfs: simplify condition for logging new dentries at btrfs_log_inode_parent()Filipe Manana1-3/+6
2025-03-18btrfs: remove redundant else statement from btrfs_log_inode_parent()Filipe Manana1-2/+0
2025-03-18btrfs: use memcmp_extent_buffer() at replay_one_extent()Filipe Manana1-13/+6
2025-03-18btrfs: update outdated comment for overwrite_item()Filipe Manana1-5/+5
2025-03-18btrfs: use variables to store extent buffer and slot at overwrite_item()Filipe Manana1-22/+25
2025-03-18btrfs: avoid unnecessary memory allocation and copy at overwrite_item()Filipe Manana1-10/+2
2025-03-18btrfs: make btrfs_iget() return a btrfs inode insteadFilipe Manana1-5/+2
2025-03-18btrfs: pass a btrfs_inode to fixup_inode_link_count()Filipe Manana1-13/+13
2025-03-18btrfs: return a btrfs_inode from read_one_inode()Filipe Manana1-79/+73
2025-03-18btrfs: return a btrfs_inode from btrfs_iget_logging()Filipe Manana1-49/+45
2025-03-18btrfs: unify ordering of btrfs_key initializationsDavid Sterba1-3/+3
2025-01-13btrfs: tree-log: remove unnecessary calls to btrfs_mark_buffer_dirty()Filipe Manana1-4/+0
2024-11-11btrfs: drop unused parameter ctx from batch_delete_dir_index_items()David Sterba1-2/+1
2024-10-11btrfs: fix uninitialized pointer free on read_alloc_one_name() errorRoi Martin1-2/+2
2024-10-11btrfs: fix uninitialized pointer free in add_inode_ref()Roi Martin1-1/+1
2024-09-10btrfs: add and use helper to verify the calling task has locked the inodeFilipe Manana1-1/+1
2024-07-11btrfs: remove super block argument from btrfs_iget()Filipe Manana1-1/+1
2024-07-11btrfs: avoid transaction commit on any fsync after subvolume creationFilipe Manana1-0/+27
2024-07-11btrfs: remove extent_map::block_start memberQu Wenruo1-9/+11
2024-07-11btrfs: remove extent_map::block_len memberQu Wenruo1-2/+2
2024-07-11btrfs: remove extent_map::orig_start memberQu Wenruo1-1/+1
2024-07-11btrfs: rename extent_map::orig_block_len to disk_num_bytesQu Wenruo1-2/+2
2024-07-11btrfs: use a btrfs_inode in the log context (struct btrfs_log_ctx)Filipe Manana1-5/+5
2024-07-11btrfs: remove location key from struct btrfs_inodeFilipe Manana1-2/+4
2024-07-11btrfs: unify index_cnt and csum_bytes from struct btrfs_inodeFilipe Manana1-1/+2
2024-06-25btrfs: use NOFS context when getting inodes during logging and log replayFilipe Manana1-15/+28
2024-06-05btrfs: fix crash on racing fsync and size-extending write into preallocOmar Sandoval1-6/+11
2024-05-07btrfs: pass the extent map tree's inode to clear_em_logging()Filipe Manana1-2/+2
2024-05-07btrfs: change root->root_key.objectid to btrfs_root_id()Josef Bacik1-5/+5
2024-05-07btrfs: rename ->len to ->num_bytes in btrfs_refJosef Bacik1-1/+1
2024-05-07btrfs: move ref_root into btrfs_refJosef Bacik1-3/+3
2024-05-07btrfs: do not use a function to initialize btrfs_refJosef Bacik1-5/+6
2024-05-07btrfs: make NOCOW checks for existence of checksums in a range more efficientFilipe Manana1-3/+6
2024-05-07btrfs: remove search_commit parameter from btrfs_lookup_csums_list()Filipe Manana1-3/+3
2024-05-07btrfs: remove not needed mod_start and mod_len from struct extent_mapFilipe Manana1-2/+2
2024-03-04btrfs: uninline some static inline helpers from tree-log.hDavid Sterba1-0/+46
2024-03-04btrfs: preallocate temporary extent buffer for inode logging when neededFilipe Manana1-36/+57
2024-03-04btrfs: remove unused included headersDavid Sterba1-2/+0
2023-12-15btrfs: use the flags of an extent map to identify the compression typeFilipe Manana1-7/+9
2023-12-15btrfs: remove now unneeded btrfs_redirty_list_addJohannes Thumshirn1-1/+0
2023-10-30Merge tag 'for-6.7-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/kdav...Linus Torvalds1-45/+36
2023-10-18btrfs: convert to new timestamp accessorsJeff Layton1-6/+6
2023-10-12btrfs: remove redundant log root tree index assignment during log syncFilipe Manana1-1/+0
2023-10-12btrfs: remove pointless empty log context list check when syncing logFilipe Manana1-3/+1
2023-10-12btrfs: add and use helpers for reading and writing log_transidFilipe Manana1-1/+1
2023-10-12btrfs: add and use helpers for reading and writing last_log_commitFilipe Manana1-2/+2
2023-10-12btrfs: open code btrfs_ordered_inode_tree in btrfs_inodeDavid Sterba1-2/+2
2023-10-12btrfs: use extent_io_tree_release() to empty dirty log pagesFilipe Manana1-2/+1
2023-10-12btrfs: remove redundant root argument from fixup_inode_link_count()Filipe Manana1-11/+9
2023-10-12btrfs: remove redundant root argument from btrfs_update_inode()Filipe Manana1-6/+6
2023-10-12btrfs: track owning root in btrfs_refBoris Burkov1-1/+2
2023-10-12btrfs: abort transaction on generation mismatch when marking eb as dirtyFilipe Manana1-6/+6