aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/delayed-inode.c
AgeCommit message (Expand)AuthorFilesLines
2025-10-22btrfs: fix delayed_node ref_tracker use after freeLeo Martins1-1/+1
2025-09-23btrfs: add unlikely annotations to branches leading to transaction abortDavid Sterba1-3/+3
2025-09-23btrfs: use kmalloc_array() for open-coded arithmetic in kmalloc()Miquel Sabaté Solà1-2/+2
2025-09-22btrfs: print leaked references in kill_all_delayed_nodes()Leo Martins1-0/+1
2025-09-22btrfs: implement ref_tracker for delayed_nodesLeo Martins1-55/+120
2025-09-15btrfs: initialize inode::file_extent_tree after i_mode has been setaustinchang1-3/+0
2025-07-21btrfs: make btrfs_readdir_delayed_dir_index() return a bool insteadFilipe Manana1-7/+7
2025-07-21btrfs: make btrfs_should_delete_dir_index() return a bool insteadFilipe Manana1-4/+3
2025-07-21btrfs: add details to error messages at btrfs_delete_delayed_dir_index()Filipe Manana1-4/+4
2025-07-21btrfs: make btrfs_delete_delayed_insertion_item() return a booleanFilipe Manana1-6/+7
2025-07-21btrfs: use rb_find() in __btrfs_lookup_delayed_item()Yangtao Li1-21/+18
2025-07-21btrfs: unfold transaction abort at __btrfs_update_delayed_inode()Filipe Manana1-11/+14
2025-06-19btrfs: fix delayed ref refcount leak in debug assertionLeo Martins1-1/+4
2025-05-15btrfs: simplify extracting delayed node at btrfs_first_prepared_delayed_node()Filipe Manana1-10/+7
2025-05-15btrfs: simplify extracting delayed node at btrfs_first_delayed_node()Filipe Manana1-9/+5
2025-05-15btrfs: trivial conversion to return bool instead of intDavid Sterba1-4/+4
2025-05-15btrfs: update and correct description of btrfs_get_or_create_delayed_node()Charles Han1-1/+6
2025-05-15btrfs: use rb_entry_safe() where possible to simplify codeDavid Sterba1-21/+6
2025-03-18btrfs: do trivial BTRFS_PATH_AUTO_FREE conversionsDavid Sterba1-2/+1
2025-03-18btrfs: pass struct btrfs_inode to btrfs_fill_inode()David Sterba1-26/+26
2025-03-18btrfs: pass struct btrfs_inode to fill_stack_inode_item()David Sterba1-24/+22
2025-01-13btrfs: drop unused parameter fs_info to btrfs_delete_delayed_insertion_item()David Sterba1-3/+2
2025-01-13btrfs: delayed-inode: remove unnecessary call to btrfs_mark_buffer_dirty()Filipe Manana1-1/+0
2025-01-13btrfs: update __btrfs_add_delayed_item() to use rb helperRoger L. Beckermeyer III1-24/+19
2024-07-11btrfs: pass a btrfs_inode to btrfs_readdir_get_delayed_items()David Sterba1-4/+4
2024-07-11btrfs: pass a btrfs_inode to btrfs_readdir_put_delayed_items()David Sterba1-2/+2
2024-07-11btrfs: constify pointer parameters where applicableDavid Sterba1-3/+3
2024-07-11btrfs: unify index_cnt and csum_bytes from struct btrfs_inodeFilipe Manana1-1/+2
2024-07-11btrfs: remove inode_lock from struct btrfs_root and use xarray locksFilipe Manana1-14/+12
2024-05-07btrfs: change root->root_key.objectid to btrfs_root_id()Josef Bacik1-1/+1
2024-04-02btrfs: record delayed inode root in transactionBoris Burkov1-0/+3
2024-03-05btrfs: remove SLAB_MEM_SPREAD flag useChengming Zhou1-1/+1
2024-03-04btrfs: use KMEM_CACHE() to create btrfs_delayed_node cacheKunwu Chan1-5/+1
2024-03-04btrfs: uninline btrfs_init_delayed_root()David Sterba1-0/+11
2024-03-04btrfs: change BUG_ON to assertion when checking for delayed_node rootDavid Sterba1-1/+1
2024-03-04btrfs: delayed-inode: drop pointless BUG_ON in __btrfs_remove_delayed_item()David Sterba1-2/+0
2023-12-15btrfs: switch btrfs_root::delayed_nodes_tree to xarray from radix-treeDavid Sterba1-29/+35
2023-12-15btrfs: do not utilize goto to implement delayed inode ref deletionQu Wenruo1-21/+24
2023-10-30Merge tag 'for-6.7-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/kdav...Linus Torvalds1-16/+11
2023-10-30Merge tag 'vfs-6.7.ctime' of gitolite.kernel.org:pub/scm/linux/kernel/git/vfs...Linus Torvalds1-10/+10
2023-10-18btrfs: convert to new timestamp accessorsJeff Layton1-10/+10
2023-10-12btrfs: open code timespec64 in struct btrfs_inodeDavid Sterba1-8/+4
2023-10-12btrfs: remove redundant root argument from btrfs_delayed_update_inode()Filipe Manana1-1/+1
2023-10-12btrfs: merge ordered work callbacks in btrfs_work into oneDavid Sterba1-2/+1
2023-10-12btrfs: abort transaction on generation mismatch when marking eb as dirtyFilipe Manana1-1/+1
2023-10-12btrfs: reformat remaining kdoc style commentsDavid Sterba1-3/+3
2023-10-12btrfs: update comment for reservation of metadata space for delayed itemsFilipe Manana1-1/+1
2023-10-11Merge tag 'for-6.6-rc5-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds1-1/+1
2023-10-11btrfs: add __counted_by for struct btrfs_delayed_item and use struct_size()Gustavo A. R. Silva1-1/+1
2023-09-12Merge tag 'for-6.6-rc1-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds1-33/+71
2023-09-08btrfs: assert delayed node locked when removing delayed itemFilipe Manana1-4/+8
2023-09-08btrfs: remove BUG() after failure to insert delayed dir index itemFilipe Manana1-27/+47
2023-09-08btrfs: improve error message after failure to add delayed dir index itemFilipe Manana1-3/+4
2023-09-08btrfs: fix lockdep splat and potential deadlock after failure running delayed...Filipe Manana1-3/+16
2023-08-28Merge tag 'for-6.6-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/kdav...Linus Torvalds1-3/+0
2023-08-28Merge tag 'v6.6-vfs.ctime' of git://git.kernel.org/pub/scm/linux/kernel/git/v...Linus Torvalds1-4/+4
2023-08-21btrfs: remove pointless empty list check when reading delayed dir indexesFilipe Manana1-3/+0
2023-08-14btrfs: fix infinite directory readsFilipe Manana1-2/+3
2023-07-13btrfs: convert to ctime accessor functionsJeff Layton1-4/+4
2023-03-06btrfs: handle btrfs_del_item errors in __btrfs_update_delayed_inodevoid0red1-1/+1
2022-12-05btrfs: pass btrfs_inode to btrfs_inode_unlockDavid Sterba1-1/+1
2022-12-05btrfs: pass btrfs_inode to btrfs_inode_lockDavid Sterba1-1/+1
2022-12-05btrfs: move file-item prototypes into their own headerJosef Bacik1-0/+1
2022-12-05btrfs: extend btrfs_dir_item type to store encryption statusOmar Sandoval1-3/+3
2022-12-05btrfs: move accessor helpers into accessors.hJosef Bacik1-0/+1
2022-12-05btrfs: move BTRFS_FS_STATE* definitions and helpers to fs.hJosef Bacik1-1/+2
2022-12-05btrfs: move the printk helpers out of ctree.hJosef Bacik1-0/+1
2022-12-05btrfs: move flush related definitions to space-info.hJosef Bacik1-0/+1
2022-09-26btrfs: use delayed items when logging a directoryFilipe Manana1-0/+112
2022-09-26btrfs: shrink the size of struct btrfs_delayed_itemFilipe Manana1-19/+18
2022-09-26btrfs: remove unused logic when looking up delayed itemsFilipe Manana1-42/+3
2022-09-26btrfs: store index number instead of key in struct btrfs_delayed_itemFilipe Manana1-52/+54
2022-09-26btrfs: remove root argument from btrfs_delayed_item_reserve_metadata()Filipe Manana1-5/+3
2022-07-25btrfs: batch up release of reserved metadata for delayed items used for deletionNikolay Borisov1-1/+16
2022-07-25btrfs: do not batch insert non-consecutive dir indexes during log replayJosef Bacik1-2/+33
2022-07-25btrfs: reduce amount of reserved metadata for delayed item insertionFilipe Manana1-14/+143
2022-07-25btrfs: set delayed item type when initializing itFilipe Manana1-22/+8
2022-07-25btrfs: do not BUG_ON() on failure to reserve metadata for delayed itemFilipe Manana1-3/+6
2022-07-25btrfs: improve batch insertion of delayed dir index itemsFilipe Manana1-15/+9
2022-07-25btrfs: assert that delayed item is a dir index item when adding itFilipe Manana1-3/+5
2022-07-25btrfs: improve batch deletion of delayed dir index itemsFilipe Manana1-35/+25
2022-07-25btrfs: refactor the delayed item deletion entry pointFilipe Manana1-32/+39
2022-07-25btrfs: deal with deletion errors when deleting delayed itemsFilipe Manana1-1/+3
2022-07-25btrfs: add assertions when deleting batches of delayed itemsFilipe Manana1-8/+16
2022-07-15Revert "btrfs: turn delayed_nodes_tree into an XArray"David Sterba1-39/+45
2022-05-16btrfs: turn delayed_nodes_tree into an XArrayGabriel Niebler1-45/+39
2022-01-07btrfs: add an inode-item.hJosef Bacik1-0/+1
2022-01-03btrfs: change root to fs_info for btrfs_reserve_metadata_bytesJosef Bacik1-1/+1
2021-10-26btrfs: loop only once over data sizes array when inserting an item batchFilipe Manana1-19/+22
2021-08-23btrfs: add ro compat flags to inodesBoris Burkov1-2/+7
2021-08-23btrfs: stop doing GFP_KERNEL memory allocations in the ref verify toolFilipe Manana1-12/+0
2021-08-23btrfs: improve the batch insertion of delayed itemsFilipe Manana1-133/+79
2021-06-21btrfs: remove total_data_size variable in btrfs_batch_insert_items()Nathan Chancellor1-2/+1
2021-06-21btrfs: abort transaction if we fail to update the delayed inodeJosef Bacik1-0/+8
2021-06-21btrfs: fix error handling in __btrfs_update_delayed_inodeJosef Bacik1-6/+4
2021-06-21btrfs: make btrfs_release_delayed_iref handle the !iref caseJosef Bacik1-10/+10
2021-04-19btrfs: use btrfs_inode_lock/btrfs_inode_unlock inode lock helpersJosef Bacik1-2/+2
2021-04-19btrfs: simplify code flow in btrfs_delayed_inode_reserve_metadataNikolay Borisov1-20/+5
2021-04-19btrfs: remove btrfs_inode parameter from btrfs_delayed_inode_reserve_metadataNikolay Borisov1-5/+3
2021-03-02btrfs: don't flush from btrfs_delayed_inode_reserve_metadataNikolay Borisov1-1/+2
2021-03-02btrfs: free correct amount of space in btrfs_delayed_inode_reserve_metadataNikolay Borisov1-1/+1
2021-02-08btrfs: simplify condition in __btrfs_run_delayed_itemsAbaci Team1-1/+1
2020-12-08btrfs: make btrfs_delayed_update_inode take btrfs_inodeNikolay Borisov1-5/+7
2020-12-08btrfs: locking: rip out path->leave_spinningJosef Bacik1-4/+0
2020-12-08btrfs: locking: remove all the blocking helpersJosef Bacik1-7/+0
2020-10-07btrfs: sink total_data parameter in setup_items_for_insertNikolay Borisov1-2/+1
2020-10-07btrfs: eliminate total_size parameter from setup_items_for_insertNikolay Borisov1-2/+2
2020-10-07btrfs: qgroup: fix wrong qgroup metadata reserve for delayed inodeQu Wenruo1-2/+1
2020-03-25btrfs: use nofs allocations for running delayed itemsJosef Bacik1-0/+13
2020-03-23btrfs: Remove __ prefix from btrfs_block_rsv_releaseNikolay Borisov1-4/+2
2020-03-23btrfs: add wrapper for transaction abort predicateDavid Sterba1-1/+1
2020-03-23btrfs: use the file extent tree infrastructureJosef Bacik1-0/+3
2019-11-18btrfs: use refcount_inc_not_zero in kill_all_nodesJosef Bacik1-3/+10
2019-11-18btrfs: move btrfs_unlock_up_safe to other locking functionsDavid Sterba1-0/+1
2019-11-18btrfs: get rid of unique workqueue helper functionsOmar Sandoval1-2/+2
2019-09-09btrfs: move cond_wake_up functions out of ctreeDavid Sterba1-0/+1
2019-09-09btrfs: only reserve metadata_size for inodesJosef Bacik1-1/+1
2019-09-09btrfs: rename the btrfs_calc_*_metadata_size helpersJosef Bacik1-2/+2
2019-09-09btrfs: delayed-inode: Kill the BUG_ON() in btrfs_delete_delayed_dir_index()Qu Wenruo1-2/+11
2019-04-29btrfs: get fs_info from eb in btrfs_leaf_free_spaceDavid Sterba1-2/+1
2019-04-29btrfs: use common file type conversionPhillip Potter1-1/+1
2018-10-15Btrfs: kill btrfs_clear_path_blockingLiu Bo1-3/+0
2018-10-15Btrfs: delayed-inode: use rb_first_cached for ins_root and del_rootLiu Bo1-13/+16
2018-10-15btrfs: Remove 'objectid' member from struct btrfs_rootMisono Tomohiro1-2/+3
2018-10-15btrfs: switch update_size to bool in btrfs_block_rsv_migrate and btrfs_rsv_ad...Lu Fengqi1-2/+2
2018-08-06btrfs: Remove fs_info from btrfs_delete_delayed_dir_indexLu Fengqi1-3/+3
2018-08-06btrfs: Remove fs_info from btrfs_insert_delayed_dir_indexLu Fengqi1-3/+1
2018-08-06btrfs: simplify pointer chasing of local fs_info variablesDavid Sterba1-2/+2
2018-05-28btrfs: replace waitqueue_actvie with cond_wake_upDavid Sterba1-6/+3
2018-04-18btrfs: delayed-inode: Remove wrong qgroup meta reservation callsQu Wenruo1-4/+16
2018-04-12btrfs: replace GPL boilerplate by SPDX -- sourcesDavid Sterba1-14/+1
2018-03-31btrfs: delayed-inode: Use new qgroup meta rsv for delayed inode and itemQu Wenruo1-16/+30
2018-03-26btrfs: add more __cold annotationsDavid Sterba1-1/+1
2018-03-26btrfs: Don't pass fs_info to btrfs_run_delayed_items/_nrNikolay Borisov1-4/+2
2018-03-26btrfs: Don't pass fs_info to __btrfs_run_delayed_itemsNikolay Borisov1-4/+4
2018-01-29Merge tag 'for-4.16-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/kda...Linus Torvalds1-30/+29
2018-01-29Merge tag 'iversion-v4.16-1' of git://git.kernel.org/pub/scm/linux/kernel/git...Linus Torvalds1-2/+5
2018-01-29btrfs: convert to new i_version APIJeff Layton1-2/+5
2018-01-24Btrfs: fix stale entries in readdirJosef Bacik1-18/+8
2018-01-22btrfs: Move checks from btrfs_wq_run_delayed_node to btrfs_balance_delayed_itemsNikolay Borisov1-5/+2
2018-01-22btrfs: Make btrfs_async_run_delayed_root use a loop rather than multiple labelsNikolay Borisov1-25/+27
2018-01-02btrfs: fix refcount_t usage when deleting btrfs_delayed_nodesChris Mason1-11/+34
2017-11-01btrfs: make the delalloc block rsv per inodeJosef Bacik1-45/+1
2017-08-18btrfs: increase ctx->pos for delayed dir indexJosef Bacik1-0/+1
2017-04-18btrfs: convert btrfs_delayed_item.refs from atomic_t to refcount_tElena Reshetova1-9/+9
2017-04-18btrfs: convert btrfs_delayed_node.refs from atomic_t to refcount_tElena Reshetova1-14/+14
2017-02-28btrfs: Make btrfs_i_size_write take btrfs_inodeNikolay Borisov1-1/+1
2017-02-14btrfs: fix over-80 lines introduced by previous cleanupsDavid Sterba1-2/+3
2017-02-14btrfs: Make btrfs_inode_delayed_dir_index_count take btrfs_inodeNikolay Borisov1-3/+3
2017-02-14btrfs: Make btrfs_commit_inode_delayed_items take btrfs_inodeNikolay Borisov1-2/+2
2017-02-14btrfs: Make btrfs_commit_inode_delayed_inode take btrfs_inodeNikolay Borisov1-3/+3
2017-02-14btrfs: Make btrfs_remove_delayed_node take btrfs_inodeNikolay Borisov1-3/+3
2017-02-14btrfs: Make btrfs_kill_delayed_inode_items take btrfs_inodeNikolay Borisov1-2/+2
2017-02-14btrfs: Make btrfs_delayed_delete_inode_ref take btrfs_inodeNikolay Borisov1-3/+3
2017-02-14btrfs: Make btrfs_delete_delayed_dir_index take btrfs_inodeNikolay Borisov1-3/+3
2017-02-14btrfs: Make btrfs_insert_delayed_dir_index take btrfs_inodeNikolay Borisov1-3/+3
2017-02-14btrfs: Make btrfs_delayed_inode_reserve_metadata take btrfs_inodeNikolay Borisov1-8/+8
2017-02-14btrfs: Make btrfs_get_or_create_delayed_node take btrfs_inodeNikolay Borisov1-6/+5
2017-02-14btrfs: Make btrfs_get_delayed_node take btrfs_inodeNikolay Borisov1-9/+8
2017-02-14btrfs: Make btrfs_ino take a struct btrfs_inodeNikolay Borisov1-7/+7
2017-02-14Btrfs: ACCESS_ONCE cleanupSeraphime Kirkovski1-2/+2
2016-12-13btrfs: limit async_work allocation and worker func durationMaxim Patlasov1-2/+4
2016-12-06btrfs: remove root parameter from transaction commit/end routinesJeff Mahoney1-2/+2
2016-12-06btrfs: take an fs_info directly when the root is not used otherwiseJeff Mahoney1-42/+42
2016-12-06btrfs: root->fs_info cleanup, access fs_info->delayed_root directlyJeff Mahoney1-17/+6
2016-12-06btrfs: root->fs_info cleanup, add fs_info convenience variablesJeff Mahoney1-16/+21
2016-12-06btrfs: root->fs_info cleanup, btrfs_calc_{trans,trunc}_metadata_sizeJeff Mahoney1-2/+2
2016-11-30btrfs: increment ctx->pos for every emitted or skipped dirent in readdirJeff Mahoney1-2/+1
2016-09-26btrfs: unsplit printed stringsJeff Mahoney1-10/+7
2016-09-26btrfs: squash lines for simple wrapper functionsMasahiro Yamada1-4/+1
2016-09-26Btrfs: add a flags field to btrfs_fs_infoJosef Bacik1-1/+2
2016-07-26btrfs: btrfs_abort_transaction, drop root parameterJeff Mahoney1-1/+1
2016-07-26btrfs: Fix slab accounting flagsNikolay Borisov1-1/+1
2016-07-07Btrfs: change delayed reservation fallback behaviorJosef Bacik1-41/+23
2016-07-07Btrfs: fix callers of btrfs_block_rsv_migrateJosef Bacik1-4/+4
2016-06-25Btrfs: fix ->iterate_shared() by upgrading i_rwsem for delayed nodesOmar Sandoval1-5/+22
2016-05-10btrfs: GFP_NOFS does not GFP_HIGHMEMDavid Sterba1-1/+1
2016-03-14btrfs: Print Warning only if ENOSPC_DEBUG is enabledAshish Samant1-1/+6
2016-02-26Merge branch 'cleanups-4.6' into for-chris-4.6David Sterba1-2/+1
2016-02-18btrfs: drop null testing before destroy functionsKinglong Mee1-2/+1
2016-02-11btrfs: properly set the termination value of ctx->pos in readdirDavid Sterba1-1/+2
2016-01-07btrfs: zero out delayed node upon allocationAlexandru Moise1-6/+1
2015-10-10btrfs: comment the rest of implicit barriers before waitqueue_activeDavid Sterba1-0/+4
2015-04-26Btrfs: fill ->last_trans for delayed inode in btrfs_fill_inode.Yang Dongsheng1-0/+2
2015-02-16Btrfs: delayed-inode: replace root args iff only fs_info usedDaniel Dressler1-4/+5
2015-02-02Btrfs: Add code to support file creation timechandan r1-0/+10
2015-02-02btrfs: kill btrfs_inode_*time helpersDavid Sterba1-16/+12
2015-01-02Btrfs: don't delay inode ref updates during log replayChris Mason1-0/+8
2014-09-17btrfs: kill the key type accessor helpersDavid Sterba1-4/+4
2014-08-24Btrfs: fix task hang under heavy compressed writeLiu Bo1-2/+2
2014-06-09btrfs: free delayed node outside of root->inode_lockJeff Mahoney1-2/+5
2014-03-10btrfs: Cleanup the "_struct" suffix in btrfs_workequeueQu Wenruo1-2/+2
2014-03-10btrfs: Replace fs_info->delayed_workers workqueue with btrfs_workqueue.Qu Wenruo1-5/+5
2014-01-28Btrfs: introduce the delayed inode ref deletion for the single link inodeMiao Xie1-4/+99
2014-01-28Btrfs: use flags instead of the bool variants in delayed nodeMiao Xie1-16/+17
2014-01-28Btrfs: remove btrfs_end_transaction_dmeta()Miao Xie1-1/+1
2014-01-28Btrfs: cleanup code of btrfs_balance_delayed_items()Miao Xie1-23/+11
2014-01-28Btrfs: don't run delayed nodes again after all nodes flushMiao Xie1-0/+1
2014-01-28Btrfs: remove residual code in delayed inode async helperMiao Xie1-27/+0
2014-01-28Btrfs: convert printk to btrfs_ and fix BTRFS prefixFrank Holton1-4/+4