diff options
author | Johannes Thumshirn <[email protected]> | 2021-02-04 19:22:04 +0900 |
---|---|---|
committer | David Sterba <[email protected]> | 2021-02-09 02:46:06 +0100 |
commit | 24533f6a9ad633d6ff0332844fadafb9ecf4a917 (patch) | |
tree | d15f089c186672a3f6d7191fd1bfa2794d5758a2 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 08f455593fff701e103876d4db5d3f4f6d0ff871 (diff) |
btrfs: save irq flags when looking up an ordered extent
A following patch will add another caller of
btrfs_lookup_ordered_extent(), but from a bio's endio context.
btrfs_lookup_ordered_extent() uses spin_lock_irq() which unconditionally
disables interrupts. Change this to spin_lock_irqsave() so interrupts
aren't disabled and re-enabled unconditionally.
Reviewed-by: Josef Bacik <[email protected]>
Signed-off-by: Johannes Thumshirn <[email protected]>
Reviewed-by: David Sterba <[email protected]>
Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions