diff options
| author | Josef Bacik <[email protected]> | 2020-08-20 11:46:04 -0400 |
|---|---|---|
| committer | David Sterba <[email protected]> | 2020-10-07 12:12:16 +0200 |
| commit | bf77467a93bdf11d815f5c5f25206a0d058da8de (patch) | |
| tree | de61ced135cc6209b53edc8829335969cb9c8ec8 /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | 9631e4cc1a030aa71dea588cc9a57533b657489f (diff) | |
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 <[email protected]>
Reviewed-by: David Sterba <[email protected]>
Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions