aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/transaction.h
AgeCommit message (Expand)AuthorFilesLines
8 daysbtrfs: simplify how first hit is passed to __btrfs_abort_transaction()David Sterba1-7/+10
8 daysbtrfs: validate negative error number passed to btrfs_abort_transaction()David Sterba1-0/+24
8 daysbtrfs: move transaction abort message to __btrfs_abort_transaction()David Sterba1-10/+1
2026-04-07btrfs: inhibit extent buffer writeback to prevent COW amplificationLeo Martins1-0/+3
2025-11-24btrfs: headers cleanup to remove unnecessary local includesQu Wenruo1-4/+0
2025-01-13btrfs: move abort_should_print_stack() to transaction.hFilipe Manana1-2/+16
2024-11-11btrfs: correct typos in multiple comments across various filesShen Lichuan1-1/+1
2024-09-03btrfs: fix race between direct IO write and fsync when using same fdFilipe Manana1-0/+6
2024-07-11btrfs: switch btrfs_pending_snapshot::dir to btrfs_inodeDavid Sterba1-1/+1
2024-07-11btrfs: add and use helper to commit the current transactionFilipe Manana1-0/+1
2024-07-11btrfs: rename macro local variables that clash with other variablesDavid Sterba1-3/+3
2024-03-04btrfs: remove no longer used btrfs_transaction_in_commit()Filipe Manana1-1/+0
2024-03-04btrfs: add forward declarations and headers, part 2David Sterba1-1/+16
2023-12-06btrfs: free qgroup pertrans reserve on transaction abortBoris Burkov1-0/+3
2023-10-12btrfs: add and use helpers for reading and writing log_transidFilipe Manana1-1/+1
2023-10-12btrfs: move btrfs_defrag_root() to defrag.{c,h}Filipe Manana1-1/+0
2023-10-12btrfs: rename errno identifiers to errorDavid Sterba1-7/+7
2023-10-12btrfs: always reserve space for delayed refs when starting transactionFilipe Manana1-0/+2
2023-10-12btrfs: stop doing excessive space reservation for csum deletionFilipe Manana1-0/+1
2023-10-04btrfs: always print transaction aborted messages with an error levelFilipe Manana1-2/+2
2023-09-08btrfs: do not block starts waiting on previous transaction commitJosef Bacik1-0/+1
2023-06-19btrfs: don't hold an extra reference for redirtied buffersChristoph Hellwig1-3/+0
2023-02-13btrfs: move btrfs_abort_transaction to transaction.cJosef Bacik1-0/+31
2022-12-05btrfs: remove fs_info::pending_changes and related codeJosef Bacik1-1/+0
2022-12-05btrfs: convert __TRANS_* defines to enum bitsDavid Sterba1-8/+10
2022-12-05btrfs: move trans_handle_cachep out of ctree.hJosef Bacik1-0/+3
2022-03-14btrfs: pass btrfs_fs_info for deleting snapshots and cleanerJosef Bacik1-1/+1
2022-03-02btrfs: do not start relocation until in progress drops are doneJosef Bacik1-0/+1
2022-01-31btrfs: fix use-after-free after failure to create a snapshotFilipe Manana1-0/+2
2022-01-03btrfs: remove trans_handle->rootJosef Bacik1-1/+0
2022-01-03btrfs: rework async transaction committingJosef Bacik1-1/+1
2021-07-07btrfs: rework chunk allocation to avoid exhaustion of the system chunk arrayFilipe Manana1-1/+1
2021-07-07btrfs: fix deadlock with concurrent chunk allocations involving system chunksFilipe Manana1-7/+0
2021-06-22btrfs: send: fix crash when memory allocations trigger reclaimFilipe Manana1-2/+0
2021-06-21btrfs: sink wait_for_unblock parameter to async commitDavid Sterba1-2/+1
2021-06-21btrfs: always abort the transaction if we abort a trans handleJosef Bacik1-1/+0
2021-04-19btrfs: fix exhaustion of the system chunk array due to concurrent allocationsFilipe Manana1-0/+7
2021-04-19btrfs: fix race between marking inode needs to be logged and log syncingFilipe Manana1-1/+1
2021-02-09btrfs: zoned: redirty released extent buffersNaohiro Aota1-0/+3
2021-02-08btrfs: make concurrent fsyncs wait less when waiting for a transaction commitFilipe Manana1-0/+2
2020-12-08btrfs: return bool from btrfs_should_end_transactionNikolay Borisov1-1/+1
2020-12-08btrfs: remove dio iomap DSYNC workaroundGoldwyn Rodrigues1-1/+0
2020-10-07btrfs: dio iomap DSYNC workaroundJosef Bacik1-0/+1
2020-10-07btrfs: make fast fsyncs wait only for writebackFilipe Manana1-0/+7
2020-07-27btrfs: qgroup: remove ASYNC_COMMIT mechanism in favor of reserve retry-after-...Qu Wenruo1-14/+0
2020-07-27btrfs: preallocate anon block device at first phase of snapshot creationQu Wenruo1-0/+2
2020-07-27btrfs: make btrfs_set_inode_last_trans take btrfs_inodeNikolay Borisov1-6/+6
2020-05-25btrfs: improve global reserve stealing logicJosef Bacik1-2/+1
2020-03-23btrfs: switch to per-transaction pinned extentsNikolay Borisov1-0/+1
2020-03-23btrfs: add wrapper for transaction abort predicateDavid Sterba1-0/+12
2019-11-18btrfs: Rename btrfs_join_transaction_nolockNikolay Borisov1-1/+1
2019-11-18btrfs: transaction: Cleanup unused TRANS_STATE_BLOCKEDQu Wenruo1-1/+0
2019-11-18Btrfs: make btrfs_wait_extents() staticFilipe Manana1-2/+0
2019-07-30Btrfs: fix deadlock between fiemap and transaction commitsFilipe Manana1-0/+3
2019-07-04btrfs: migrate btrfs_trans_release_chunk_metadataJosef Bacik1-0/+1
2019-04-29Btrfs: remove no longer used member num_dirty_bgs from transactionFilipe Manana1-1/+0
2019-04-29btrfs: replace pending/pinned chunks lists with io treeJeff Mahoney1-1/+0
2019-04-29btrfs: combine device update operations during transaction commitNikolay Borisov1-0/+1
2019-04-29Btrfs: remove no longer used 'sync' member from transaction handleFilipe Manana1-1/+0
2018-12-17btrfs: drop extra enum initialization where using defaultsDavid Sterba1-7/+7
2018-12-17Btrfs: remove no longer used stuff for tracking pending ordered extentsFilipe Manana1-2/+0
2018-08-06btrfs: replace get_seconds with new 64bit time APIAllen Pais1-1/+1
2018-05-30btrfs: drop useless member qgroup_reserved of btrfs_pending_snapshotGu JinXiang1-1/+0
2018-04-18btrfs: qgroup: Commit transaction in advance to reduce early EDQUOTQu Wenruo1-0/+14
2018-04-12btrfs: replace GPL boilerplate by SPDX -- headersDavid Sterba1-16/+4
2018-03-31btrfs: Remove code referencing unused TRANS_USERSPACENikolay Borisov1-5/+1
2018-03-26btrfs: Document consistency of transaction->io_bgs listNikolay Borisov1-0/+16
2018-03-26btrfs: Remove unused btrfs_start_transaction_lflush functionNikolay Borisov1-3/+0
2018-01-22btrfs: reorder btrfs_transaction members for better packingDavid Sterba1-2/+2
2018-01-22btrfs: use narrower type for btrfs_transaction::num_dirty_bgsDavid Sterba1-1/+1
2018-01-22btrfs: reorder btrfs_trans_handle members for better packingDavid Sterba1-2/+2
2018-01-22btrfs: switch to refcount_t type for btrfs_trans_handle::use_countDavid Sterba1-1/+1
2018-01-22btrfs: remove unused member of btrfs_trans_handleDavid Sterba1-1/+0
2018-01-22btrfs: switch btrfs_trans_handle::adding_csums to boolDavid Sterba1-1/+1
2017-04-18btrfs: remove unused qgroup members from btrfs_trans_handleDavid Sterba1-2/+0
2017-04-18btrfs: convert btrfs_transaction.use_count from atomic_t to refcount_tElena Reshetova1-1/+3
2016-12-06btrfs: remove root parameter from transaction commit/end routinesJeff Mahoney1-14/+4
2016-12-06btrfs: split btrfs_wait_marked_extents into normal and tree log functionsJeff Mahoney1-2/+3
2016-12-06btrfs: take an fs_info directly when the root is not used otherwiseJeff Mahoney1-3/+3
2016-09-26btrfs: convert pr_* to btrfs_* where possibleJeff Mahoney1-0/+1
2016-07-26btrfs: add btrfs_trans_handle->fs_info pointerJeff Mahoney1-0/+1
2016-06-17btrfs: account for non-CoW'd blocks in btrfs_abort_transactionJeff Mahoney1-1/+1
2016-05-25btrfs: fix string and comment grammatical issues and typosNicholas D Steeves1-1/+1
2016-01-07btrfs: preallocate path for snapshot creation at ioctl timeDavid Sterba1-0/+1
2016-01-07btrfs: allocate root item at snapshot ioctl timeDavid Sterba1-0/+1
2015-12-10Btrfs: fix unprotected list move from unused_bgs to deleted_bgs listFilipe Manana1-1/+1
2015-11-25Btrfs: use global reserve when deleting unused block group after ENOSPCFilipe Manana1-0/+4
2015-10-21Merge branch 'allocator-fixes' into for-linus-4.4Chris Mason1-7/+7
2015-10-21Btrfs: don't continue setting up space cache when enospcJosef Bacik1-0/+1
2015-10-21Btrfs: add a flags field to btrfs_transactionJosef Bacik1-5/+4
2015-10-21Btrfs: change how we wait for pending ordered extentsJosef Bacik1-2/+2
2015-10-21btrfs: qgroup: Use new metadata reservation.Qu Wenruo1-1/+0
2015-10-21btrfs: change num_items type from u64 to unsigned intAlexandru Moise1-2/+3
2015-10-05Btrfs: fix deadlock when finalizing block group creationFilipe Manana1-0/+1
2015-09-22Btrfs: keep dropped roots in cache until transaction commitJosef Bacik1-1/+4
2015-07-29btrfs: add missing discards when unpinning extents with -o discardJeff Mahoney1-0/+2
2015-06-10btrfs: qgroup: Add the ability to skip given qgroup for old/new_roots.Qu Wenruo1-0/+23
2015-06-03Btrfs: fix -ENOSPC when finishing block group creationFilipe Manana1-0/+1
2015-04-10Btrfs: allow block group cache writeout outside critical section in commitChris Mason1-0/+9
2015-04-10Btrfs: reserve space for block groupsJosef Bacik1-0/+1
2015-03-26Btrfs: fix metadata inconsistencies after directory fsyncFilipe Manana1-0/+2
2015-02-14btrfs: Fix out-of-space bugZhao Lei1-0/+5
2015-01-21Btrfs: track dirty block groups on their own listJosef Bacik1-0/+2
2014-11-25Merge branch 'dev/pending-changes' of git://git.kernel.org/pub/scm/linux/kern...Chris Mason1-0/+2
2014-11-21Btrfs: make sure logged extents complete in the current transaction V3Josef Bacik1-0/+2
2014-11-20Btrfs: deal with convert_extent_bit errors to avoid fs corruptionFilipe Manana1-2/+0
2014-11-12btrfs: add support for processing pending changesDavid Sterba1-0/+2
2014-10-02btrfs: hide typecast to definition of BTRFS_SEND_TRANS_STUBDavid Sterba1-1/+1
2014-08-15btrfs: disable strict file flushes for renames and truncatesChris Mason1-1/+0
2014-06-09Btrfs: add sanity tests for new qgroup accounting codeJosef Bacik1-0/+1
2014-04-06Btrfs: remove transaction from sendJosef Bacik1-0/+1
2014-04-06Btrfs: don't clear uptodate if the eb is under IOJosef Bacik1-0/+2
2014-01-28Btrfs: make fsync latency less suckyJosef Bacik1-0/+1
2014-01-28Btrfs: remove btrfs_end_transaction_dmeta()Miao Xie1-2/+0
2013-11-11Btrfs: fix BUG_ON() casued by the reserved space migrationMiao Xie1-0/+1
2013-11-11Btrfs: fix two use-after-free bugs with transaction cleanupJosef Bacik1-0/+1
2013-09-01btrfs: mark some local function as 'static'Sergei Trofimovich1-2/+0
2013-08-09Btrfs: check to see if root_list is empty before adding it to dead rootsJosef Bacik1-1/+1
2013-07-02Btrfs: make the chunk allocator completely tree locklessJosef Bacik1-0/+1
2013-06-14Btrfs: make the state of the transaction more readableMiao Xie1-4/+12
2013-06-14Btrfs: remove unnecessary varient ->num_joined in btrfs_transaction structureMiao Xie1-2/+0
2013-06-14Btrfs: don't wait for all the writers circularly during the transaction commitMiao Xie1-8/+23
2013-05-06btrfs: make static code static & remove dead codeEric Sandeen1-1/+0
2013-05-06btrfs: clean snapshots one by oneDavid Sterba1-1/+1
2013-02-28Btrfs: fix wrong reserved space in qgroup during snap/subv creationMiao Xie1-0/+1
2013-02-28Btrfs: remove unnecessary dget_parent/dput when creating the pending snapshotMiao Xie1-0/+1
2013-02-20Btrfs: fix uncompleted transactionMiao Xie1-0/+2
2013-02-20Btrfs: place ordered operations on a per transaction listJosef Bacik1-0/+1
2013-02-20btrfs: remove cache only arguments from defrag pathEric Sandeen1-1/+1
2013-02-20Btrfs: don't re-enter when allocating a chunkJosef Bacik1-0/+1
2012-12-11Btrfs: improve the noflush reservationMiao Xie1-1/+1
2012-10-09Btrfs: fix orphan transaction on the freezed filesystemMiao Xie1-2/+2
2012-10-09Btrfs: add a type field for the transaction handleMiao Xie1-4/+11
2012-10-04Btrfs: fix race in sync and freeze againJosef Bacik1-0/+1
2012-10-01Btrfs: delay block group item insertionJosef Bacik1-0/+1
2012-10-01Btrfs: fix corrupted metadata in the snapshotMiao Xie1-0/+2
2012-10-01Btrfs: fix a bug in checking whether a inode is already in logLiu Bo1-0/+1
2012-07-25Merge branch 'qgroup' of git://git.jan-o-sch.net/btrfs-unstable into for-linusChris Mason1-0/+11
2012-07-23Btrfs: change how we indicate we're adding csumsJosef Bacik1-0/+1
2012-07-12Btrfs: add qgroup inheritanceArne Jansen1-0/+1
2012-07-12Btrfs: hooks to reserve qgroup spaceArne Jansen1-0/+1
2012-07-12Btrfs: qgroup implementation and prototypesArne Jansen1-0/+3
2012-07-10Btrfs: check the root passed to btrfs_end_transactionArne Jansen1-0/+6
2012-03-22btrfs: enhance transaction abort infrastructureJeff Mahoney1-0/+3
2011-05-28Merge branch 'for-chris' ofChris Mason1-21/+8
2011-05-23Btrfs: kill BTRFS_I(inode)->block_groupJosef Bacik1-14/+0
2011-05-23Btrfs: kill trans_mutexJosef Bacik1-1/+3
2011-05-23Btrfs: if we've already started a trans handle, use that oneJosef Bacik1-0/+2
2011-05-23Btrfs: take away the num_items argument from btrfs_join_transactionJosef Bacik1-6/+3
2011-05-22Merge branch 'cleanups' of git://repo.or.cz/linux-2.6/btrfs-unstable into ino...Chris Mason1-3/+0
2011-05-21btrfs: implement delayed inode items operationMiao Xie1-0/+2
2011-05-04btrfs: remove unused function prototypesDavid Sterba1-3/+0
2011-04-11Btrfs: avoid taking the trans_mutex in btrfs_end_transactionJosef Bacik1-2/+2
2010-12-23Btrfs: Add readonly snapshots supportLi Zefan1-0/+1
2010-10-29Btrfs: add START_SYNC, WAIT_SYNC ioctlsSage Weil1-0/+1
2010-10-29Btrfs: async transaction commitSage Weil1-0/+3
2010-10-28Btrfs: create special free space cache inodeJosef Bacik1-0/+4
2010-05-25Btrfs: Introduce global metadata reservationYan, Zheng1-0/+3
2010-05-25Btrfs: Integrate metadata reservation with start_transactionYan, Zheng1-5/+8
2010-05-25Btrfs: Introduce contexts for metadata reservationYan, Zheng1-4/+4
2009-12-15Btrfs: Avoid superfluous tree-log writeoutYan, Zheng1-3/+3
2009-10-13Btrfs: streamline tree-log btree block writeoutChris Mason1-0/+4
2009-10-13Btrfs: avoid tree log commit when there are no changesChris Mason1-0/+1
2009-07-30Btrfs: be more polite in the async caching threadsChris Mason1-0/+1
2009-06-10Btrfs: Mixed back reference (FORWARD ROLLING FORMAT CHANGE)Yan Zheng1-8/+4
2009-03-24Btrfs: reduce stalls during transaction commitChris Mason1-0/+5
2009-03-24Btrfs: do extent allocation and reference count updates in the backgroundChris Mason1-0/+3
2009-01-05Btrfs: Fix checkpatch.pl warningsChris Mason1-3/+3
2008-12-11Btrfs: fix leaking block group on balanceYan Zheng1-1/+1
2008-11-17Btrfs: Allow subvolumes and snapshots anywhere in the directory treeChris Mason1-0/+2
2008-09-25Btrfs: Record dirty pages tree-log pages in an extent_io treeChris Mason1-0/+2
2008-09-25Btrfs: Add a write ahead tree log to optimize synchronous operationsChris Mason1-0/+1
2008-09-25Btrfs: Various small fixes.Yan Zheng1-2/+1
2008-09-25Btrfs: fix ioctl-initiated transactions vs wait_current_trans()Sage Weil1-0/+2
2008-09-25Btrfs: Update and fix mount -o nodatacowYan Zheng1-0/+5
2008-09-25Btrfs: Throttle operations if the reference cache gets too largeChris Mason1-0/+1
2008-09-25btrfs_start_transaction: wait for commits in progress to finishChris Mason1-0/+3
2008-09-25Btrfs: New data=ordered implementationChris Mason1-4/+0
2008-09-25Btrfs: Online btree defragmentation fixesChris Mason1-1/+0
2008-09-25Btrfs: Replace the transaction work queue with kthreadsChris Mason1-10/+0
2008-09-25Add btrfs_end_transaction_throttle to force writers to wait for pending commitsChris Mason1-0/+2
2008-09-25Btrfs: Split the extent_map code into two partsChris Mason1-1/+1
2008-09-25Btrfs: Move snapshot creation to commit timeChris Mason1-0/+7
2008-09-25Btrfs: Add data=ordered supportChris Mason1-2/+6
2008-09-25Btrfs: Back port to 2.6.18-el kernelsChris Mason1-0/+5
2008-09-25Btrfs: Create extent_buffer interface for large blocksizesChris Mason1-2/+3
2007-09-11Btrfs: Find and remove dead roots the first time a root is loaded.Chris Mason1-1/+2
2007-08-10Btrfs: delay commits during fsync to allow more writersJosef Bacik1-0/+7
2007-08-10Btrfs: Btree defrag on the extent-mapping tree as wellChris Mason1-0/+2
2007-08-08Btrfs: Replace extent tree preallocation code with some bit radix magic.Chris Mason1-0/+2
2007-08-07Btrfs: Add run time btree defrag, and an ioctl to force btree defragChris Mason1-0/+1
2007-06-22Btrfs: Add the ability to find and remove dead roots after a crash.Chris Mason1-0/+1
2007-06-12Btrfs: add GPLv2Chris Mason1-0/+18
2007-06-08Btrfs: get forced transaction commits via workqueueChris Mason1-3/+0
2007-06-08Btrfs: add compat ioctlChris Mason1-0/+8
2007-04-30Btrfs: allocator improvements, inode block groupsChris Mason1-0/+15
2007-04-28Btrfs: smarter transaction writebackChris Mason1-0/+1
2007-04-19Btrfs: early fsync supportChris Mason1-0/+1
2007-04-02Btrfs: still corruption huntingChris Mason1-0/+3
2007-03-22Btrfs: transaction reworkChris Mason1-16/+19