diff options
| author | Josef Bacik <josef@toxicpanda.com> | 2020-08-20 11:46:04 -0400 |
|---|---|---|
| committer | David Sterba <dsterba@suse.com> | 2020-10-07 12:12:16 +0200 |
| commit | bf77467a93bdf11d815f5c5f25206a0d058da8de (patch) | |
| tree | de61ced135cc6209b53edc8829335969cb9c8ec8 /tools/perf/scripts/python/flamegraph.py | |
| parent | btrfs: introduce BTRFS_NESTING_COW for cow'ing blocks (diff) | |
| download | linux-bf77467a93bdf11d815f5c5f25206a0d058da8de.tar.gz linux-bf77467a93bdf11d815f5c5f25206a0d058da8de.zip | |
btrfs: introduce BTRFS_NESTING_LEFT/BTRFS_NESTING_RIGHT
Our lockdep maps are based on rootid+level, however in some cases we
will lock adjacent blocks on the same level, namely in searching forward
or in split/balance. Because of this lockdep will complain, so we need
a separate subclass to indicate to lockdep that these are different
locks.
lock leaf -> BTRFS_NESTING_NORMAL
cow leaf -> BTRFS_NESTING_COW
split leaf
lock left -> BTRFS_NESTING_LEFT
lock right -> BTRFS_NESTING_RIGHT
The above graph illustrates the need for this new nesting subclass.
Signed-off-by: Josef Bacik <josef@toxicpanda.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions
