aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/locking.c
AgeCommit message (Expand)AuthorFilesLines
13 daysbtrfs: change root->root_key.objectid to btrfs_root_id()Josef Bacik1-1/+1
13 daysbtrfs: avoid pointless wake ups of drew lock readersFilipe Manana1-2/+6
13 daysbtrfs: locking: rename __btrfs_tree_lock() and __btrfs_tree_read_lock()Filipe Manana1-3/+3
13 daysbtrfs: locking: inline btrfs_tree_lock() and btrfs_tree_read_lock()Filipe Manana1-10/+0
2024-03-04btrfs: change BUG_ON to assertion when verifying lockdep class setupDavid Sterba1-1/+1
2024-03-04btrfs: remove unused included headersDavid Sterba1-1/+0
2023-10-12btrfs: add raid stripe tree definitionsJohannes Thumshirn1-0/+1
2023-10-12btrfs: move extent_buffer::lock_owner to debug sectionDavid Sterba1-3/+12
2023-10-12btrfs: reformat remaining kdoc style commentsDavid Sterba1-1/+2
2023-10-12btrfs: include trace header in where necessaryJosef Bacik1-0/+1
2023-06-19btrfs: add block-group tree to lockdep classesDavid Sterba1-2/+3
2023-04-17btrfs: locking: use atomic for DREW lock writersDavid Sterba1-19/+6
2022-12-05btrfs: move accessor helpers into accessors.hJosef Bacik1-0/+1
2022-09-26btrfs: implement a nowait option for tree searchesJosef Bacik1-0/+25
2022-08-17btrfs: fix lockdep splat with reloc root extent buffersJosef Bacik1-0/+11
2022-08-17btrfs: move lockdep class helpers to locking.cJosef Bacik1-0/+80
2022-06-21btrfs: don't set lock_owner when locking extent buffer for readingZygo Blaxell1-3/+0
2021-06-22btrfs: fix typos in commentsDavid Sterba1-2/+2
2020-12-08btrfs: remove the recurse parameter from __btrfs_tree_read_lockJosef Bacik1-4/+2
2020-12-08btrfs: merge back btrfs_read_lock_root_node helpersJosef Bacik1-3/+2
2020-12-08btrfs: locking: remove the recursion handling codeJosef Bacik1-64/+4
2020-12-08btrfs: locking: remove all the blocking helpersJosef Bacik1-74/+0
2020-12-08btrfs: switch extent buffer tree lock to rw_semaphoreJosef Bacik1-310/+64
2020-10-07btrfs: add nesting tags to the locking helpersJosef Bacik1-4/+10
2020-10-07btrfs: introduce btrfs_path::recurseJosef Bacik1-3/+10
2020-10-07btrfs: rename extent_buffer::lock_nested to extent_buffer::lock_recursedJosef Bacik1-12/+12
2020-05-25btrfs: add missing annotation for btrfs_tree_lock()Jules Irenge1-0/+1
2020-03-23btrfs: Implement DREW lockNikolay Borisov1-0/+93
2020-03-23btrfs: move root node locking helpers to locking.cDavid Sterba1-0/+42
2019-11-18btrfs: document extent buffer lockingDavid Sterba1-14/+158
2019-11-18btrfs: access eb::blocking_writers according to ACCESS_ONCE policiesDavid Sterba1-11/+21
2019-11-18btrfs: set blocking_writers directly, no increment or decrementDavid Sterba1-2/+2
2019-11-18btrfs: merge blocking_writers branches in btrfs_tree_read_lockDavid Sterba1-13/+14
2019-11-18btrfs: move btrfs_unlock_up_safe to other locking functionsDavid Sterba1-0/+26
2019-11-18btrfs: move btrfs_set_path_blocking to other locking functionsDavid Sterba1-0/+26
2019-11-18btrfs: make btrfs_assert_tree_locked static inlineDavid Sterba1-6/+0
2019-11-18btrfs: make locking assertion helpers static inlineDavid Sterba1-10/+10
2019-09-09btrfs: move cond_wake_up functions out of ctreeDavid Sterba1-0/+1
2019-09-09btrfs: Remove unused locking functionsNikolay Borisov1-36/+0
2019-07-25btrfs: Fix deadlock caused by missing memory barrierNikolay Borisov1-3/+6
2019-07-02btrfs: switch extent_buffer write_locks from atomic to intDavid Sterba1-3/+3
2019-07-02btrfs: switch extent_buffer spinning_writers from atomic to intDavid Sterba1-5/+5
2019-07-02btrfs: switch extent_buffer blocking_writers from atomic to intDavid Sterba1-26/+20
2019-04-29btrfs: trace: Introduce trace events for all btrfs tree locking eventsQu Wenruo1-0/+10
2019-04-29btrfs: trace: Introduce trace events for sleepable tree lockQu Wenruo1-0/+12
2019-04-29btrfs: switch extent_buffer::lock_nested to boolDavid Sterba1-3/+3
2019-04-29btrfs: use assertion helpers for extent buffer write lock countersDavid Sterba1-3/+3
2019-04-29btrfs: add assertion helpers for extent buffer write lock countersDavid Sterba1-5/+18
2019-04-29btrfs: use assertion helpers for extent buffer read lock countersDavid Sterba1-5/+5
2019-04-29btrfs: add assertion helpers for extent buffer read lock countersDavid Sterba1-7/+18
2019-04-29btrfs: use assertion helpers for spinning readersDavid Sterba1-8/+6
2019-04-29btrfs: add assertion helpers for spinning readersDavid Sterba1-0/+13
2019-04-29btrfs: use assertion helpers for spinning writersDavid Sterba1-10/+6
2019-04-29btrfs: add assertion helpers for spinning writersDavid Sterba1-0/+24
2019-02-25btrfs: simplify waiting loop in btrfs_tree_lockDavid Sterba1-9/+2
2019-02-25btrfs: split btrfs_clear_lock_blocking_rw to read and write helpersDavid Sterba1-22/+25
2019-02-25btrfs: split btrfs_set_lock_blocking_rw to read and write helpersDavid Sterba1-24/+26
2018-05-28btrfs: replace waitqueue_actvie with cond_wake_upDavid Sterba1-23/+11
2018-04-12btrfs: replace GPL boilerplate by SPDX -- sourcesDavid Sterba1-14/+2
2018-03-31btrfs: Relax memory barrier in btrfs_tree_unlockNikolay Borisov1-1/+1
2016-01-07btrfs: cleanup, remove stray return statementsDavid Sterba1-2/+0
2015-10-10btrfs: comment the rest of implicit barriers before waitqueue_activeDavid Sterba1-0/+9
2015-10-10btrfs: add comments to barriers before waitqueue_activeDavid Sterba1-0/+3
2015-08-09btrfs: Add WARN_ON() for double lock in btrfs_tree_lock()Zhaolei1-0/+1
2014-11-19btrfs: fix lockups from btrfs_clear_path_blockingChris Mason1-3/+21
2014-06-19Btrfs: fix deadlocks with trylock on tree nodesChris Mason1-34/+46
2013-05-06btrfs: make static code static & remove dead codeEric Sandeen1-2/+2
2013-02-20Btrfs: save us a read_lockLiu Bo1-3/+2
2012-08-28Btrfs: fix a misplaced address operator in a conditionStefan Behrens1-1/+1
2012-07-23Btrfs: reduce calls to wake_up on uncontended locksChris Mason1-5/+9
2012-03-22btrfs: return void in functions without error conditionsJeff Mahoney1-4/+2
2012-01-04Btrfs: add nested locking mode for pathsArne Jansen1-2/+51
2011-07-27Btrfs: switch the btrfs tree locks to reader/writerChris Mason1-134/+146
2011-05-06btrfs: remove all unused functionsDavid Sterba1-25/+0
2010-03-30include cleanup: Update gfp.h and slab.h includes to prepare for breaking imp...Tejun Heo1-1/+0
2009-04-02Btrfs: fix typos in commentsWu Fengguang1-2/+2
2009-03-24Btrfs: leave btree locks spinning more oftenChris Mason1-5/+6
2009-03-24Btrfs: Check for a blocking lock before taking the spinChris Mason1-2/+8
2009-03-09Btrfs: fix spinlock assertions on UP systemsChris Mason1-3/+3
2009-02-12Btrfs: make a lockdep class for the extent buffer locksChris Mason1-11/+0
2009-02-09Btrfs: don't use spin_is_contendedChris Mason1-22/+0
2009-02-04Btrfs: Change btree locking to use explicit blocking pointsChris Mason1-18/+190
2009-01-05Btrfs: Fix checkpatch.pl warningsChris Mason1-2/+3
2008-09-29Btrfs: add and improve commentsChris Mason1-0/+13
2008-09-25btrfs_search_slot: reduce lock contention by cowing in two stagesChris Mason1-0/+16
2008-09-25Btrfs: implement memory reclaim for leaf reference cacheYan1-1/+0
2008-09-25Btrfs: Fix some build problems on 2.6.18 based enterprise kernelsChris Mason1-1/+1
2008-09-25Btrfs: Use mutex_lock_nested for tree lockingChris Mason1-1/+1
2008-09-25Btrfs: Use a mutex in the extent buffer for tree block lockingChris Mason1-7/+6
2008-09-25Btrfs: Reduce contention on the root nodeChris Mason1-0/+10
2008-09-25Btrfs: Start btree concurrency work.Chris Mason1-0/+50