diff options
| author | Josef Bacik <josef@toxicpanda.com> | 2020-08-20 11:46:05 -0400 |
|---|---|---|
| committer | David Sterba <dsterba@suse.com> | 2020-10-07 12:12:16 +0200 |
| commit | bf59a5a21604ef79da9105bef1bae817fd053e75 (patch) | |
| tree | c77e328755674e909fede6da8bca28748b6584b1 /tools/perf/scripts/python/stackcollapse.py | |
| parent | btrfs: introduce BTRFS_NESTING_LEFT/BTRFS_NESTING_RIGHT (diff) | |
| download | linux-bf59a5a21604ef79da9105bef1bae817fd053e75.tar.gz linux-bf59a5a21604ef79da9105bef1bae817fd053e75.zip | |
btrfs: introduce BTRFS_NESTING_LEFT/RIGHT_COW
For similar reasons as BTRFS_NESTING_COW, we need
BTRFS_NESTING_LEFT/RIGHT_COW. The pattern is this
lock leaf -> BTRFS_NESTING_NORMAL
cow leaf -> BTRFS_NESTING_COW
split leaf
lock left -> BTRFS_NESTING_LEFT
cow left -> BTRFS_NESTING_LEFT_COW
We need this in order to indicate to lockdep that these locks are
discrete and are being taken in a safe order.
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/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
