aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/tree-log.c
AgeCommit message (Expand)AuthorFilesLines
10 daysbtrfs: remove unnecessary inode key in btrfs_log_all_parents()Filipe Manana1-8/+4
10 daysbtrfs: remaining BTRFS_PATH_AUTO_FREE conversionsDavid Sterba1-3/+1
10 daysbtrfs: reduce arguments to btrfs_del_inode_ref_in_log()Filipe Manana1-5/+5
10 daysbtrfs: remove root argument from btrfs_del_dir_entries_in_log()Filipe Manana1-1/+1
10 daysbtrfs: use bool type for btrfs_path members used as booleansFilipe Manana1-10/+10
10 daysbtrfs: make a few more ASSERTs verboseDavid Sterba1-15/+31
10 daysbtrfs: relax btrfs_inode::ordered_tree_lock IRQ locking contextQu Wenruo1-2/+2
10 daysbtrfs: headers cleanup to remove unnecessary local includesQu Wenruo1-0/+1
10 daysbtrfs: apply the AUTO_K(V)FREE macros throughout the codeMiquel Sabaté Solà1-27/+16
10 daysbtrfs: use the key format macros when printing keysFilipe Manana1-20/+18
10 daysbtrfs: 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-135/+126
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
2023-10-12btrfs: reduce parameters of btrfs_pin_extent_for_log_replayDavid Sterba1-5/+2
2023-10-12btrfs: reduce parameters of btrfs_pin_reserved_extentDavid Sterba1-1/+1
2023-10-12btrfs: reformat remaining kdoc style commentsDavid Sterba1-4/+3
2023-09-26Merge tag 'for-6.6-rc3-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds1-1/+1
2023-09-21btrfs: initialize start_slot in btrfs_log_prealloc_extentsJosef Bacik1-1/+1
2023-08-28Merge tag 'for-6.6-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/kdav...Linus Torvalds1-5/+3
2023-08-21btrfs: use LIST_HEAD() to initialize the list_headRuan Jinjie1-3/+1
2023-08-21btrfs: remove redundant initialization of variables in log_new_ancestorsColin Ian King1-2/+2
2023-07-13btrfs: convert to ctime accessor functionsJeff Layton1-2/+2
2023-06-19btrfs: do not BUG_ON() when dropping inode items from log rootFilipe Manana1-6/+6
2023-06-19btrfs: rename the bytenr field in struct btrfs_ordered_sum to logicalChristoph Hellwig1-6/+6
2023-06-19btrfs: change for_rename argument of btrfs_record_unlink_dir() to boolFilipe Manana1-1/+1
2023-06-19btrfs: remove pointless label and goto at btrfs_record_unlink_dir()Filipe Manana1-7/+3
2023-06-19btrfs: update comments at btrfs_record_unlink_dir() to be more clearFilipe Manana1-4/+8
2023-06-19btrfs: use inode_logged() at btrfs_record_unlink_dir()Filipe Manana1-2/+2
2023-06-19btrfs: use inode_logged() at need_log_inode()Filipe Manana1-3/+3
2023-05-26btrfs: fix an uninitialized variable warning in btrfs_log_inodeShida Zhang1-1/+1
2023-04-17btrfs: use log root when iterating over index keys when logging directoryFilipe Manana1-27/+24
2023-04-17btrfs: avoid iterating over all indexes when logging directoryFilipe Manana1-2/+30
2023-04-17btrfs: tree-log: factor out a clean_log_buffer helperChristoph Hellwig1-61/+31
2023-04-17btrfs: open code btrfs_bin_search()Anand Jain1-1/+1
2023-02-15btrfs: replace btrfs_wait_tree_block_writeback by wait_on_extent_buffer_write...Josef Bacik1-9/+3
2023-02-15btrfs: rename btrfs_clean_tree_block to btrfs_clear_buffer_dirtyJosef Bacik1-3/+3
2023-02-15btrfs: replace clearing extent buffer dirty bit with btrfs_clean_blockJosef Bacik1-19/+15
2023-02-15btrfs: add trans argument to btrfs_clean_tree_blockJosef Bacik1-3/+3
2023-02-13btrfs: use a single variable to track return value for log_dir_items()Filipe Manana1-19/+18
2023-02-13btrfs: use a negative value for BTRFS_LOG_FORCE_COMMITFilipe Manana1-7/+3
2023-02-06btrfs: simplify update of last_dir_index_offset when logging a directoryFilipe Manana1-6/+17
2023-01-12btrfs: do not abort transaction on failure to update log rootFilipe Manana1-7/+4
2023-01-12btrfs: do not abort transaction on failure to write log tree when syncing logFilipe Manana1-2/+0
2023-01-12btrfs: add missing setup of log for full commit at add_conflicting_inode()Filipe Manana1-1/+3
2023-01-12btrfs: fix directory logging due to race with concurrent index key deletionFilipe Manana1-6/+15
2023-01-12btrfs: fix missing error handling when logging directory itemsFilipe Manana1-0/+9
2022-12-20btrfs: fix fscrypt name leak after failure to join log transactionFilipe Manana1-1/+4
2022-12-05btrfs: remove outdated logic from overwrite_item() and add assertionFilipe Manana1-5/+9
2022-12-05btrfs: unify overwrite_item() and do_overwrite_item()Filipe Manana1-52/+24
2022-12-05btrfs: split the bio submission path into a separate fileChristoph Hellwig1-0/+1
2022-12-05btrfs: introduce a bitmap based csum range search functionQu Wenruo1-8/+7
2022-12-05btrfs: concentrate all tree block parentness check parameters into one structureQu Wenruo1-7/+18