diff options
author | Josef Bacik <josef@toxicpanda.com> | 2024-04-03 22:28:45 +0200 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2024-05-07 21:31:10 +0200 |
commit | 8325f41a564acf39f1251c0423e97eb73c85a56f (patch) | |
tree | 6897037082436464364ca6b3125fd70d931e769e /fs/btrfs/print-tree.c | |
parent | btrfs: push lock_extent down in cow_file_range() (diff) | |
download | linux-8325f41a564acf39f1251c0423e97eb73c85a56f.tar.xz linux-8325f41a564acf39f1251c0423e97eb73c85a56f.zip |
btrfs: push extent lock down in submit_one_async_extent
We don't need to include the time we spend in the allocator under our
extent lock protection, move it after the allocator and make sure we
lock the extent in the error case to ensure we're not clearing these
bits without the extent lock held.
Reviewed-by: Goldwyn Rodrigues <rgoldwyn@suse.com>
Signed-off-by: Josef Bacik <josef@toxicpanda.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/print-tree.c')
0 files changed, 0 insertions, 0 deletions